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 | |
parent | 3b75fc90f71a47e7a8e37be90e8ad188c4f83cef (diff) | |
download | chef-14e7e9a11641ddf60d94aeb536275914e326a322.tar.gz |
fix an lwrp default action test
-rw-r--r-- | CHANGELOG.md | 2 | ||||
-rw-r--r-- | spec/unit/lwrp_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e65930bf3..0a337ff94e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,7 +19,7 @@ * [**SAWANOBORI Yukihiko**](https://github.com/sawanoboly): Add Chef::Log::Syslog class for integrating sending logs to syslog * [**Pavel Yudin**](https://github.com/Kasen): - Ensure LWRP and HWRP @action variable is consistent + Ensure LWRP and HWRP @action variable is consistent #3156 * Add an integration test of chef-client with empty ENV. #3321 * Switch over Windows builds to universal builds. #3278 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 |