diff options
| author | Xu Cheng | 2015-04-13 18:05:15 +0800 |
|---|---|---|
| committer | Xu Cheng | 2015-04-15 19:51:54 +0800 |
| commit | a6be0b5bb8312e25695bd71bfe5e799526b4290e (patch) | |
| tree | 63aeb78ec3165488e7f9d67130122fd5aba0b041 /Library/Homebrew/test | |
| parent | 06f72ab38f7330eaef9a4cc05dd31b35e8bf26f5 (diff) | |
| download | brew-a6be0b5bb8312e25695bd71bfe5e799526b4290e.tar.bz2 | |
sandbox: redesign API
Diffstat (limited to 'Library/Homebrew/test')
| -rw-r--r-- | Library/Homebrew/test/test_sandbox.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/test_sandbox.rb b/Library/Homebrew/test/test_sandbox.rb index 4564edb3b..eb1ac233d 100644 --- a/Library/Homebrew/test/test_sandbox.rb +++ b/Library/Homebrew/test/test_sandbox.rb @@ -10,7 +10,7 @@ class SandboxTest < Homebrew::TestCase s = Sandbox.new testpath = Pathname.new(TEST_TMPDIR) foo = testpath/"foo" - s.allow_write "#{testpath}", :type => :subpath + s.allow_write foo s.exec "touch", foo assert_predicate foo, :exist? foo.unlink |
