diff options
author | Noah Kantrowitz <noah@coderanger.net> | 2015-06-26 16:02:34 -0700 |
---|---|---|
committer | Noah Kantrowitz <noah@coderanger.net> | 2015-06-29 10:51:59 -0700 |
commit | 0f6d0066b96e09e69106e106e690ec3c8b33ce17 (patch) | |
tree | 8e14acf39b146eb5895f8bacd7d5e89545448a12 /spec/unit/recipe_spec.rb | |
parent | e56fd56ac1bf9455b32cfe7e2a2d94d9f2a09fd0 (diff) | |
download | chef-0f6d0066b96e09e69106e106e690ec3c8b33ce17.tar.gz |
Fix ancillary tests.
Diffstat (limited to 'spec/unit/recipe_spec.rb')
-rw-r--r-- | spec/unit/recipe_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/unit/recipe_spec.rb b/spec/unit/recipe_spec.rb index 17ea498fe3..511e7e9397 100644 --- a/spec/unit/recipe_spec.rb +++ b/spec/unit/recipe_spec.rb @@ -409,8 +409,8 @@ describe Chef::Recipe do end it "does not copy the action from the first resource" do - expect(original_resource.action).to eq(:score) - expect(duplicated_resource.action).to eq(:nothing) + expect(original_resource.action).to eq([:score]) + expect(duplicated_resource.action).to eq([:nothing]) end it "does not copy the source location of the first resource" do @@ -505,7 +505,7 @@ describe Chef::Recipe do recipe.from_file(File.join(CHEF_SPEC_DATA, "recipes", "test.rb")) res = recipe.resources(:file => "/etc/nsswitch.conf") expect(res.name).to eql("/etc/nsswitch.conf") - expect(res.action).to eql(:create) + expect(res.action).to eql([:create]) expect(res.owner).to eql("root") expect(res.group).to eql("root") expect(res.mode).to eql(0644) |