summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rwxr-xr-xspec/shared_behaviours/things_that_declare_options.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/shared_behaviours/things_that_declare_options.rb b/spec/shared_behaviours/things_that_declare_options.rb
index 6e7056157..ebf1b2071 100755
--- a/spec/shared_behaviours/things_that_declare_options.rb
+++ b/spec/shared_behaviours/things_that_declare_options.rb
@@ -27,13 +27,12 @@ shared_examples_for "things that declare options" do
thing = add_options_to do
option "--foo" do
- desc text
description text
summary text
end
end
- thing.get_option(:foo).desc.should == text
+ thing.get_option(:foo).description.should == text
end
it "should list all the options" do