summaryrefslogtreecommitdiff
path: root/spec/integration/recipes/provider_choice.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/integration/recipes/provider_choice.rb')
-rw-r--r--spec/integration/recipes/provider_choice.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/integration/recipes/provider_choice.rb b/spec/integration/recipes/provider_choice.rb
index 66aa58a432..f1d57260b6 100644
--- a/spec/integration/recipes/provider_choice.rb
+++ b/spec/integration/recipes/provider_choice.rb
@@ -30,8 +30,8 @@ describe "Recipe DSL methods" do
recipe = converge do
provider_thingy("blah") {}
end
- expect(recipe.logged_warnings).to match /hello from Chef::Provider::ProviderThingy/
- expect(recipe.logged_warnings).to match /you must use 'provides' to provide DSL/i
+ expect(recipe.logged_warnings).to match(/hello from Chef::Provider::ProviderThingy/)
+ expect(recipe.logged_warnings).to match(/you must use 'provides' to provide DSL/i)
end
end
end