aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorMisty De Meo2013-10-21 21:25:42 -0700
committerMisty De Meo2013-12-05 18:24:51 -0800
commite2af1cbeeb8f68150037dbf8612b69290b9e85aa (patch)
tree94aba370dc78c3ea5041dae7e1f159482c6be9c2 /Library/Homebrew/test
parent079d0556ad0076b75f3a2eae99cf97af95a44fe2 (diff)
downloadbrew-e2af1cbeeb8f68150037dbf8612b69290b9e85aa.tar.bz2
Use BottleCollector in Bottle SoftwareSpec
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/test_software_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/test/test_software_spec.rb b/Library/Homebrew/test/test_software_spec.rb
index 547afa73c..42bcf73fc 100644
--- a/Library/Homebrew/test/test_software_spec.rb
+++ b/Library/Homebrew/test/test_software_spec.rb
@@ -110,8 +110,8 @@ class BottleTests < Test::Unit::TestCase
end
checksums.each_pair do |cat, sha1|
- assert_equal Checksum.new(:sha1, sha1),
- @spec.instance_variable_get(:@sha1)[cat]
+ hsh, _ = @spec.instance_variable_get(:@sha1).fetch_bottle_for(cat)
+ assert_equal Checksum.new(:sha1, sha1), hsh
end
end