summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorThom May <thom@chef.io>2015-05-20 14:30:58 +0100
committerThom May <thom@chef.io>2015-05-20 14:30:58 +0100
commit14e7e9a11641ddf60d94aeb536275914e326a322 (patch)
tree2a14935b5ee4b77fc2e8a4f420ea43e31ca647bf /spec
parent3b75fc90f71a47e7a8e37be90e8ad188c4f83cef (diff)
downloadchef-14e7e9a11641ddf60d94aeb536275914e326a322.tar.gz
fix an lwrp default action test
Diffstat (limited to 'spec')
-rw-r--r--spec/unit/lwrp_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/lwrp_spec.rb b/spec/unit/lwrp_spec.rb
index e7f6769e51..659696fd28 100644
--- a/spec/unit/lwrp_spec.rb
+++ b/spec/unit/lwrp_spec.rb
@@ -146,7 +146,7 @@ describe "LWRP" do
it "Should load the old content, and not the new" do
resource = Chef::Resource.resource_for_node(:lwrp_foo, Chef::Node.new)
expect(resource).to eq @original_resource
- expect(resource.default_action).to eq :pass_buck
+ expect(resource.default_action).to eq([:pass_buck])
expect(Chef.method_defined?(:method_created_by_override_lwrp_foo)).to be_falsey
end
end