aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_software_spec.rb
diff options
context:
space:
mode:
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