summaryrefslogtreecommitdiffstats
path: root/spec/unit/interface_spec.rb
diff options
context:
space:
mode:
authorDaniel Pittman <daniel@puppetlabs.com>2011-04-26 17:18:09 -0700
committerDaniel Pittman <daniel@puppetlabs.com>2011-04-26 23:35:31 -0700
commit092ab09d00474d69361ee757efde2b28c89b39eb (patch)
tree4972d871be768411316e357198ee910e536f7324 /spec/unit/interface_spec.rb
parent67a86554fff18cd75744ea987ea2361f495efc4c (diff)
downloadpuppet-092ab09d00474d69361ee757efde2b28c89b39eb.tar.gz
puppet-092ab09d00474d69361ee757efde2b28c89b39eb.tar.xz
puppet-092ab09d00474d69361ee757efde2b28c89b39eb.zip
(#6962) Extend documentation API for Faces.
This adds the remaining documentation mechanisms to the Face instances, allowing them to build and report correct documentation, licensing and ownership for the help face to build on.
Diffstat (limited to 'spec/unit/interface_spec.rb')
-rwxr-xr-xspec/unit/interface_spec.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/unit/interface_spec.rb b/spec/unit/interface_spec.rb
index a1d70cf64..27da39766 100755
--- a/spec/unit/interface_spec.rb
+++ b/spec/unit/interface_spec.rb
@@ -76,7 +76,11 @@ describe Puppet::Interface do
# Required documentation methods...
{ :summary => "summary",
- :description => "This is the description of the stuff\n\nWhee"
+ :description => "This is the description of the stuff\n\nWhee",
+ :examples => "This is my example",
+ :short_description => "This is my custom short description",
+ :notes => "These are my notes...",
+ :author => "This is my authorship data",
}.each do |attr, value|
it "should support #{attr} in the builder" do
face = subject.new(:builder, '1.0.0') do