diff options
| author | Daniel Pittman <daniel@puppetlabs.com> | 2011-04-19 10:34:05 -0700 |
|---|---|---|
| committer | Daniel Pittman <daniel@puppetlabs.com> | 2011-04-19 10:34:05 -0700 |
| commit | a594563919a2342e1ea542f8f18ed187ab9ecad3 (patch) | |
| tree | 59bb906fd3206ac58289f58ff80b9d59fe60ab4b /spec/unit/interface | |
| parent | 9adcb194a75df4e0f0570c20bfa90686ed078265 (diff) | |
| parent | 4efba7148a79fcd099b4eb9bd17cbb2d785f5fb8 (diff) | |
| download | puppet-a594563919a2342e1ea542f8f18ed187ab9ecad3.tar.gz puppet-a594563919a2342e1ea542f8f18ed187ab9ecad3.tar.xz puppet-a594563919a2342e1ea542f8f18ed187ab9ecad3.zip | |
Merge branch 'bug/2.7.x/7132-a-summary-with-a-newline-is-accepted' into 2.7.x
Diffstat (limited to 'spec/unit/interface')
| -rwxr-xr-x | spec/unit/interface/action_spec.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/unit/interface/action_spec.rb b/spec/unit/interface/action_spec.rb index fe2409b35..5058ffc7f 100755 --- a/spec/unit/interface/action_spec.rb +++ b/spec/unit/interface/action_spec.rb @@ -371,4 +371,13 @@ describe Puppet::Interface::Action do end end end + + it_should_behave_like "documentation on faces" do + subject do + face = Puppet::Interface.new(:action_documentation, '0.0.1') do + action :documentation do end + end + face.get_action(:documentation) + end + end end |
