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 313a502e0..02f586569 100644
--- a/Library/Homebrew/test/test_software_spec.rb
+++ b/Library/Homebrew/test/test_software_spec.rb
@@ -75,7 +75,7 @@ class SoftwareSpecTests < Homebrew::TestCase
def test_explicit_options_override_default_dep_option_description
@spec.option('with-foo', 'blah')
@spec.depends_on('foo' => :optional)
- assert_equal 'blah', @spec.build.first.description
+ assert_equal "blah", @spec.options.first.description
end
def test_patch