diff options
| author | Xu Cheng | 2015-04-13 18:05:15 +0800 | 
|---|---|---|
| committer | Xu Cheng | 2015-04-15 19:51:54 +0800 | 
| commit | 62ca25e8976d4c85c7a54a8aca6153a023fef6ea (patch) | |
| tree | 9af8df47de8e03ac3099b726707188f6819a8b97 /Library/Homebrew/test | |
| parent | 436951609d97229fbefc416a7f7796e3519d12f4 (diff) | |
| download | homebrew-62ca25e8976d4c85c7a54a8aca6153a023fef6ea.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  | 
