summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorTyler Ball <tyler-ball@users.noreply.github.com>2015-08-21 10:05:41 -0600
committerTyler Ball <tyler-ball@users.noreply.github.com>2015-08-21 10:05:41 -0600
commit88752a692e8a17a44174e7f6411b58790684d141 (patch)
tree7522099e95eb5a74114ea59c61dd6cb33744cfe5 /spec
parentc832f38fbf26dce0a8e323318b33937cb4a44243 (diff)
parent82f328a811bf4c8a71277d56bfffa631d5f565f5 (diff)
downloadchef-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.rb2
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