diff options
| author | Thom May <thom@chef.io> | 2015-05-20 14:30:58 +0100 |
|---|---|---|
| committer | Thom May <thom@chef.io> | 2015-05-20 14:30:58 +0100 |
| commit | 14e7e9a11641ddf60d94aeb536275914e326a322 (patch) | |
| tree | 2a14935b5ee4b77fc2e8a4f420ea43e31ca647bf /spec/unit/lwrp_spec.rb | |
| parent | 3b75fc90f71a47e7a8e37be90e8ad188c4f83cef (diff) | |
| download | chef-14e7e9a11641ddf60d94aeb536275914e326a322.tar.gz | |
fix an lwrp default action test
Diffstat (limited to 'spec/unit/lwrp_spec.rb')
| -rw-r--r-- | spec/unit/lwrp_spec.rb | 2 |
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 |
