diff options
author | Xabier de Zuazo <xabier@zuazo.org> | 2012-11-25 21:13:11 +0100 |
---|---|---|
committer | Bryan McLellan <btm@opscode.com> | 2012-12-13 09:34:27 -0800 |
commit | a178b6c4926cbe1efe456f7610941f59a1050f05 (patch) | |
tree | f7bf05388dedbb702eaa0f27ba68e60f18dd4ad1 /spec/unit/provider_spec.rb | |
parent | c97007bc01e88e333a60bb70a391d7960c888657 (diff) | |
download | chef-a178b6c4926cbe1efe456f7610941f59a1050f05.tar.gz |
[CHEF-3632] All providers have whyrun enabled by default due to RemoteDirectory
Diffstat (limited to 'spec/unit/provider_spec.rb')
-rw-r--r-- | spec/unit/provider_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/unit/provider_spec.rb b/spec/unit/provider_spec.rb index ec0af03d47..7873be0f28 100644 --- a/spec/unit/provider_spec.rb +++ b/spec/unit/provider_spec.rb @@ -73,6 +73,10 @@ describe Chef::Provider do @provider.current_resource.should eql(nil) end + it "should not support whyrun by default" do + @provider.send(:whyrun_supported?).should eql(false) + end + it "should return true for action_nothing" do @provider.action_nothing.should eql(true) end |