summaryrefslogtreecommitdiffstats
path: root/spec/shared_behaviours
diff options
context:
space:
mode:
authorJosh Cooper <josh@puppetlabs.com>2011-06-22 16:51:01 -0700
committerJosh Cooper <josh@puppetlabs.com>2011-06-22 16:51:01 -0700
commit534ccfe8d8cac382f91eea1047bca2b183e937ca (patch)
treebfc3f7f8e31592d31a5cb18c4d08132ebe739e2a /spec/shared_behaviours
parentcb23e5a7207ee2aa13cb4fb7ba70e6d6207fbc40 (diff)
downloadpuppet-534ccfe8d8cac382f91eea1047bca2b183e937ca.tar.gz
puppet-534ccfe8d8cac382f91eea1047bca2b183e937ca.tar.xz
puppet-534ccfe8d8cac382f91eea1047bca2b183e937ca.zip
(#8048) Gem install puppet no longer fails if rdoc enabled.
Pre-released versions of faces may have used the "desc" option, which was later changed to "description", and an alias provided for "desc". The previous fix for 8048 removed this backwards compatibility (since it was never released to customers). This commit fixes the test case that assumed the "desc" option was still available. Reviewed-By: Daniel Pittman <daniel@puppetlabs.com>
Diffstat (limited to 'spec/shared_behaviours')
-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