aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/os/mac
diff options
context:
space:
mode:
authorMarkus Reiter2017-02-12 21:37:46 +0100
committerMarkus Reiter2017-02-19 23:55:12 +0100
commit6dfbf7066b59ada428a3b5d06acee1f02bb4f166 (patch)
treef67cb8098cd2ae27479ccac4b003893fb551111e /Library/Homebrew/test/os/mac
parent9f31d41fb263718bff98e194df411b8aaea72aba (diff)
downloadbrew-6dfbf7066b59ada428a3b5d06acee1f02bb4f166.tar.bz2
Convert Utils::Bottles::Collector test to spec.
Diffstat (limited to 'Library/Homebrew/test/os/mac')
-rw-r--r--Library/Homebrew/test/os/mac/bottle_collector_test.rb27
1 files changed, 0 insertions, 27 deletions
diff --git a/Library/Homebrew/test/os/mac/bottle_collector_test.rb b/Library/Homebrew/test/os/mac/bottle_collector_test.rb
deleted file mode 100644
index e9ae9b753..000000000
--- a/Library/Homebrew/test/os/mac/bottle_collector_test.rb
+++ /dev/null
@@ -1,27 +0,0 @@
-require "testing_env"
-require "utils/bottles"
-
-class OSMacBottleCollectorTests < Homebrew::TestCase
- def setup
- super
- @collector = Utils::Bottles::Collector.new
- end
-
- def checksum_for(tag)
- @collector.fetch_checksum_for(tag)
- end
-
- def test_collector_finds_or_later_tags
- @collector[:lion_or_later] = "foo"
- assert_equal ["foo", :lion_or_later], checksum_for(:mountain_lion)
- assert_nil checksum_for(:snow_leopard)
- end
-
- def test_collector_finds_altivec_tags
- @collector[:tiger_altivec] = "foo"
- assert_equal ["foo", :tiger_altivec], checksum_for(:tiger_g4)
- assert_equal ["foo", :tiger_altivec], checksum_for(:tiger_g4e)
- assert_equal ["foo", :tiger_altivec], checksum_for(:tiger_g5)
- assert_nil checksum_for(:tiger_g3)
- end
-end