diff options
| author | Mike McQuaid | 2013-06-22 10:14:29 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2013-06-22 11:13:59 +0100 |
| commit | 59798de6179cacea9cfc276fddb43d54fa205eac (patch) | |
| tree | 4f620d04661bc8b2c31e71f2eabee3e313075ca1 /Library | |
| parent | 78ac7c427584720dc2a19842c983a647cd0c8770 (diff) | |
| download | homebrew-59798de6179cacea9cfc276fddb43d54fa205eac.tar.bz2 | |
Don't use cats in bottle tag tests (thanks 10.9).
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/test/test_bottle_tag.rb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Library/Homebrew/test/test_bottle_tag.rb b/Library/Homebrew/test/test_bottle_tag.rb index 3dc51943a..d6d20929e 100644 --- a/Library/Homebrew/test/test_bottle_tag.rb +++ b/Library/Homebrew/test/test_bottle_tag.rb @@ -2,42 +2,42 @@ require 'testing_env' require 'bottles' class BottleTagTests < Test::Unit::TestCase - def test_cat_tiger_ppc + def test_tag_tiger_ppc MacOS.stubs(:version).returns(MacOS::Version.new("10.4")) Hardware::CPU.stubs(:type).returns(:ppc) Hardware::CPU.stubs(:family).returns(:foo) assert_equal :foo, bottle_tag end - def test_cat_tiger_intel + def test_tag_tiger_intel MacOS.stubs(:version).returns(MacOS::Version.new("10.4")) Hardware::CPU.stubs(:type).returns(:intel) assert_equal :tiger, bottle_tag end - def test_cat_leopard + def test_tag_leopard MacOS.stubs(:version).returns(MacOS::Version.new("10.5")) assert_equal :leopard, bottle_tag end - def test_cat_snow_leopard_32 + def test_tag_snow_leopard_32 MacOS.stubs(:version).returns(MacOS::Version.new("10.6")) Hardware::CPU.stubs(:is_64_bit?).returns(false) assert_equal :snow_leopard_32, bottle_tag end - def test_cat_snow_leopard_64 + def test_tag_snow_leopard_64 MacOS.stubs(:version).returns(MacOS::Version.new("10.6")) Hardware::CPU.stubs(:is_64_bit?).returns(true) assert_equal :snow_leopard, bottle_tag end - def test_cat_lion + def test_tag_lion MacOS.stubs(:version).returns(MacOS::Version.new("10.7")) assert_equal :lion, bottle_tag end - def test_cat_mountain_lion + def test_tag_mountain_lion MacOS.stubs(:version).returns(MacOS::Version.new("10.8")) assert_equal :mountain_lion, bottle_tag end |
