summaryrefslogtreecommitdiffstats
path: root/spec/shared_behaviours
diff options
context:
space:
mode:
authorDaniel Pittman <daniel@puppetlabs.com>2011-04-27 10:05:48 -0700
committerDaniel Pittman <daniel@puppetlabs.com>2011-04-27 10:10:20 -0700
commite8eb290a1681baa19ef0b035af7cf17daadc6069 (patch)
treee94d133c7a817be600fa38902fdc96cc304b3670 /spec/shared_behaviours
parent6e152ad1d0bb34f6d24fd818b2b020d5a8dd385b (diff)
downloadpuppet-e8eb290a1681baa19ef0b035af7cf17daadc6069.tar.gz
puppet-e8eb290a1681baa19ef0b035af7cf17daadc6069.tar.xz
puppet-e8eb290a1681baa19ef0b035af7cf17daadc6069.zip
(#6962) Finish documentation API on Face options.
This extends the last of the documentation support, down into options, so they can be described as expected. In the process we split out the modular docs API into a full and short version options only want short docs, but the behaviours are identical to the full version.
Diffstat (limited to 'spec/shared_behaviours')
-rwxr-xr-xspec/shared_behaviours/things_that_declare_options.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/shared_behaviours/things_that_declare_options.rb b/spec/shared_behaviours/things_that_declare_options.rb
index 5300a159a..3d33bab7f 100755
--- a/spec/shared_behaviours/things_that_declare_options.rb
+++ b/spec/shared_behaviours/things_that_declare_options.rb
@@ -28,6 +28,8 @@ shared_examples_for "things that declare options" do
thing = add_options_to do
option "--foo" do
desc text
+ description text
+ summary text
end
end