diff options
author | John Keiser <john@johnkeiser.com> | 2015-06-17 17:09:07 -0700 |
---|---|---|
committer | John Keiser <john@johnkeiser.com> | 2015-06-18 14:16:13 -0700 |
commit | 59717769a12768c62aa18270a51b91c820b67010 (patch) | |
tree | b96afb99f8b7a79f65863d9b5872dcba5305888e /spec/unit/runner_spec.rb | |
parent | de9b1c0d7a0b7eb53c5e66c2dacfb92ccfbf161c (diff) | |
download | chef-59717769a12768c62aa18270a51b91c820b67010.tar.gz |
Do not set resource_name outside of Chef::Resourcejk/chef-resource-name-only
Diffstat (limited to 'spec/unit/runner_spec.rb')
-rw-r--r-- | spec/unit/runner_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/runner_spec.rb b/spec/unit/runner_spec.rb index 82e57e068c..b30f818da1 100644 --- a/spec/unit/runner_spec.rb +++ b/spec/unit/runner_spec.rb @@ -273,8 +273,8 @@ describe Chef::Runner do expected_message =<<-E Multiple failures occurred: -* FailureProvider::ChefClientFail occurred in delayed notification: failure_resource[explode] (dynamically defined) had an error: FailureProvider::ChefClientFail: chef had an error of some sort -* FailureProvider::ChefClientFail occurred in delayed notification: failure_resource[explode again] (dynamically defined) had an error: FailureProvider::ChefClientFail: chef had an error of some sort +* FailureProvider::ChefClientFail occurred in delayed notification: [explode] (dynamically defined) had an error: FailureProvider::ChefClientFail: chef had an error of some sort +* FailureProvider::ChefClientFail occurred in delayed notification: [explode again] (dynamically defined) had an error: FailureProvider::ChefClientFail: chef had an error of some sort E expect(exception.message).to eq(expected_message) |