From 534ccfe8d8cac382f91eea1047bca2b183e937ca Mon Sep 17 00:00:00 2001 From: Josh Cooper Date: Wed, 22 Jun 2011 16:51:01 -0700 Subject: (#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 --- spec/shared_behaviours/things_that_declare_options.rb | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit