diff options
| author | Josh Cooper <josh@puppetlabs.com> | 2011-06-22 16:51:01 -0700 |
|---|---|---|
| committer | Josh Cooper <josh@puppetlabs.com> | 2011-06-22 16:51:01 -0700 |
| commit | 534ccfe8d8cac382f91eea1047bca2b183e937ca (patch) | |
| tree | bfc3f7f8e31592d31a5cb18c4d08132ebe739e2a /spec/shared_behaviours | |
| parent | cb23e5a7207ee2aa13cb4fb7ba70e6d6207fbc40 (diff) | |
| download | puppet-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-x | spec/shared_behaviours/things_that_declare_options.rb | 3 |
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 |
