summaryrefslogtreecommitdiff
path: root/spec/unit/resource/dsc_resource_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/resource/dsc_resource_spec.rb')
-rw-r--r--spec/unit/resource/dsc_resource_spec.rb2
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 04e1305163..e0beb309ab 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([:run, :nothing].to_set)
+ expect(dsc_test_resource.allowed_actions.to_set).to eq(%i{run nothing}.to_set)
end
it "allows the resource property to be set" do