aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_software_spec.rb
diff options
context:
space:
mode:
authorJack Nagel2014-04-01 16:03:07 -0500
committerJack Nagel2014-04-01 16:03:07 -0500
commit0f565b5ae7a893ed42c53801f98639110cd9d7da (patch)
tree645203649364da267ea615454320daefe474ee47 /Library/Homebrew/test/test_software_spec.rb
parentac9c94b2b99d360e244730e60bba560c64cefb1a (diff)
downloadhomebrew-0f565b5ae7a893ed42c53801f98639110cd9d7da.tar.bz2
Stop jumping through hoops to get at the collector object
Diffstat (limited to 'Library/Homebrew/test/test_software_spec.rb')
-rw-r--r--Library/Homebrew/test/test_software_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/test_software_spec.rb b/Library/Homebrew/test/test_software_spec.rb
index f4a63e244..893e4ad9a 100644
--- a/Library/Homebrew/test/test_software_spec.rb
+++ b/Library/Homebrew/test/test_software_spec.rb
@@ -121,7 +121,7 @@ class BottleSpecificationTests < Test::Unit::TestCase
end
checksums.each_pair do |cat, sha1|
- hsh, _ = @spec.instance_variable_get(:@sha1).fetch_bottle_for(cat)
+ hsh, _ = @spec.collector.fetch_bottle_for(cat)
assert_equal Checksum.new(:sha1, sha1), hsh
end
end