aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/gpg2_requirement_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/test/gpg2_requirement_test.rb')
-rw-r--r--Library/Homebrew/test/gpg2_requirement_test.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Homebrew/test/gpg2_requirement_test.rb b/Library/Homebrew/test/gpg2_requirement_test.rb
index b45798b42..3297c2851 100644
--- a/Library/Homebrew/test/gpg2_requirement_test.rb
+++ b/Library/Homebrew/test/gpg2_requirement_test.rb
@@ -19,8 +19,7 @@ class GPG2RequirementTests < Homebrew::TestCase
end
def test_satisfied
- with_environment("PATH" => @dir/"bin") do
- assert_predicate GPG2Requirement.new, :satisfied?
- end
+ ENV["PATH"] = @dir/"bin"
+ assert_predicate GPG2Requirement.new, :satisfied?
end
end