diff options
Diffstat (limited to 'Library/Homebrew/test')
| -rw-r--r-- | Library/Homebrew/test/test_formula_installer.rb | 2 | ||||
| -rw-r--r-- | Library/Homebrew/test/test_formula_installer_bottle.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/test/test_formula_installer.rb b/Library/Homebrew/test/test_formula_installer.rb index 9602ec7c1..55b456fba 100644 --- a/Library/Homebrew/test/test_formula_installer.rb +++ b/Library/Homebrew/test/test_formula_installer.rb @@ -62,7 +62,7 @@ class InstallTests < Homebrew::TestCase end def test_bottle_unneeded_formula_install - MacOS.stubs(:has_apple_developer_tools?).returns(false) + DevelopmentTools.stubs(:installed?).returns(false) formula = Testball.new formula.stubs(:bottle_unneeded?).returns(true) diff --git a/Library/Homebrew/test/test_formula_installer_bottle.rb b/Library/Homebrew/test/test_formula_installer_bottle.rb index 12306c229..d83c856b7 100644 --- a/Library/Homebrew/test/test_formula_installer_bottle.rb +++ b/Library/Homebrew/test/test_formula_installer_bottle.rb @@ -36,7 +36,7 @@ class InstallBottleTests < Homebrew::TestCase end def test_a_basic_bottle_install - MacOS.stubs(:has_apple_developer_tools?).returns(false) + DevelopmentTools.stubs(:installed?).returns(false) temporary_bottle_install(TestballBottle.new) do |f| # Copied directly from test_formula_installer.rb as we expect @@ -59,7 +59,7 @@ class InstallBottleTests < Homebrew::TestCase end def test_build_tools_error - MacOS.stubs(:has_apple_developer_tools?).returns(false) + DevelopmentTools.stubs(:installed?).returns(false) # Testball doesn't have a bottle block, so use it to test this behavior formula = Testball.new |
