diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-03-04 18:21:30 -0800 |
---|---|---|
committer | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-03-20 14:38:03 -0700 |
commit | 216dceb0f506bf754b838dca8b874e4a5da47541 (patch) | |
tree | dfac4ab9032603506a0e04824dfe1d03a1ee6d9f | |
parent | a1e48fc870f158f863f6a854650e19c93d57bdcf (diff) | |
download | chef-216dceb0f506bf754b838dca8b874e4a5da47541.tar.gz |
Fix dsc_resource spec
-rw-r--r-- | spec/unit/resource/dsc_resource_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/unit/resource/dsc_resource_spec.rb b/spec/unit/resource/dsc_resource_spec.rb index 669e6ad404..efaeba7570 100644 --- a/spec/unit/resource/dsc_resource_spec.rb +++ b/spec/unit/resource/dsc_resource_spec.rb @@ -34,12 +34,12 @@ describe Chef::Resource::DscResource do Chef::Resource::DscResource.new(dsc_test_resource_name, dsc_test_run_context) } - it "has a default action of `:set`" do - expect(dsc_test_resource.action).to eq(:set) + it "has a default action of `:run`" do + expect(dsc_test_resource.action).to eq(:run) end - it "has an allowed_actions attribute with only the `:set` and `:nothing` attributes" do - expect(dsc_test_resource.allowed_actions.to_set).to eq([:set,:nothing].to_set) + it "has an allowed_actions attribute with only the `:run` and `:nothing` attributes" do + expect(dsc_test_resource.allowed_actions.to_set).to eq([:run,:nothing].to_set) end it "allows the resource attribute to be set" do |