From a6be0b5bb8312e25695bd71bfe5e799526b4290e Mon Sep 17 00:00:00 2001 From: Xu Cheng Date: Mon, 13 Apr 2015 18:05:15 +0800 Subject: sandbox: redesign API --- Library/Homebrew/test/test_sandbox.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/test') 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 -- cgit v1.2.3