diff options
-rw-r--r-- | spec/unit/resource/dsc_resource_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/resource/dsc_resource_spec.rb b/spec/unit/resource/dsc_resource_spec.rb index 6d6b99bd10..5cf776b6b8 100644 --- a/spec/unit/resource/dsc_resource_spec.rb +++ b/spec/unit/resource/dsc_resource_spec.rb @@ -41,7 +41,7 @@ describe Chef::Resource::DscResource do end it "has an ed_actions property with only the `:run` and `:nothing` properties" do - expect(dsc_test_resource.allowed_actions.to_set).to eq(%i{run nothing}.to_set) + expect(dsc_test_resource.allowed_actions.keys).to eq(%i{run nothing}) end it "allows the resource property to be set" do |