diff options
Diffstat (limited to 'spec/unit/interface/action_spec.rb')
| -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..07853e7b7 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 + + context "#when_rendering" do + it "should fail if no type is given when_rendering" + it "should accept a when_rendering block" + it "should accept multiple when_rendering blocks" + it "should fail if when_rendering gets a non-symbol identifier" + it "should fail if a second block is given for the same type" + it "should return the block if asked" + end end |
