diff options
author | Tyler Ball <tyler-ball@users.noreply.github.com> | 2015-08-21 10:05:41 -0600 |
---|---|---|
committer | Tyler Ball <tyler-ball@users.noreply.github.com> | 2015-08-21 10:05:41 -0600 |
commit | 88752a692e8a17a44174e7f6411b58790684d141 (patch) | |
tree | 7522099e95eb5a74114ea59c61dd6cb33744cfe5 /spec | |
parent | c832f38fbf26dce0a8e323318b33937cb4a44243 (diff) | |
parent | 82f328a811bf4c8a71277d56bfffa631d5f565f5 (diff) | |
download | chef-88752a692e8a17a44174e7f6411b58790684d141.tar.gz |
Merge pull request #3663 from docwhat/issue-3614
Fix error message for providers without `provides`
Diffstat (limited to 'spec')
-rw-r--r-- | spec/integration/recipes/recipe_dsl_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/integration/recipes/recipe_dsl_spec.rb b/spec/integration/recipes/recipe_dsl_spec.rb index fd40e5b6d8..52bca87c99 100644 --- a/spec/integration/recipes/recipe_dsl_spec.rb +++ b/spec/integration/recipes/recipe_dsl_spec.rb @@ -119,7 +119,7 @@ describe "Recipe DSL methods" do recipe = converge { backcompat_thingy 'blah' do; end } - expect(recipe.logged_warnings).to match(/Class Chef::Provider::BackcompatThingy does not declare 'resource_name :backcompat_thingy'./) + expect(recipe.logged_warnings).to match(/Class Chef::Provider::BackcompatThingy does not declare 'provides :backcompat_thingy'./) expect(BaseThingy.created_resource).not_to be_nil end end |