diff options
Diffstat (limited to 'Library/Homebrew/test/test_bottle_hooks.rb')
| -rw-r--r-- | Library/Homebrew/test/test_bottle_hooks.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/test/test_bottle_hooks.rb b/Library/Homebrew/test/test_bottle_hooks.rb index cf160bb14..8c66bce53 100644 --- a/Library/Homebrew/test/test_bottle_hooks.rb +++ b/Library/Homebrew/test/test_bottle_hooks.rb @@ -17,14 +17,14 @@ class BottleHookTests < Homebrew::TestCase Homebrew::Hooks::Bottles.setup_formula_has_bottle do |f| f.some_random_method end - assert @fi.pour_bottle? + assert_predicate @fi, :pour_bottle? end def test_has_no_bottle Homebrew::Hooks::Bottles.setup_formula_has_bottle do |f| !f.some_random_method end - assert !@fi.pour_bottle? + refute_predicate @fi, :pour_bottle? end def test_pour_formula_bottle |
