summaryrefslogtreecommitdiff
path: root/spec/integration/recipes
diff options
context:
space:
mode:
authorNoah Kantrowitz <noah@coderanger.net>2015-07-19 11:19:11 -0700
committerNoah Kantrowitz <noah@coderanger.net>2015-07-19 11:19:11 -0700
commitd62844985c5e5493580605355e8376c8acc4009e (patch)
tree08f8785ae3bb1ae2951ca671f3ae85ebc13845de /spec/integration/recipes
parent1360d2ca0c43d22f634deb74f097edfcc73c1a3e (diff)
downloadchef-d62844985c5e5493580605355e8376c8acc4009e.tar.gz
Remove warnings from tests too.
Diffstat (limited to 'spec/integration/recipes')
-rw-r--r--spec/integration/recipes/recipe_dsl_spec.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/spec/integration/recipes/recipe_dsl_spec.rb b/spec/integration/recipes/recipe_dsl_spec.rb
index a4de6ae542..fd40e5b6d8 100644
--- a/spec/integration/recipes/recipe_dsl_spec.rb
+++ b/spec/integration/recipes/recipe_dsl_spec.rb
@@ -794,21 +794,6 @@ describe "Recipe DSL methods" do
end
end
- context "when Thingy9 provides :thingy9" do
- before(:context) {
- class RecipeDSLSpecNamespace::Thingy9 < BaseThingy
- resource_name :thingy9
- end
- }
-
- it "declaring a resource providing the same :thingy9 produces a warning" do
- expect(Chef::Log).to receive(:warn).with("You declared a new resource RecipeDSLSpecNamespace::Thingy9AlternateProvider for resource thingy9, but it comes alphabetically after RecipeDSLSpecNamespace::Thingy9 and has the same filters ({}), so it will not be used. Use override: true if you want to use it for thingy9.")
- class RecipeDSLSpecNamespace::Thingy9AlternateProvider < BaseThingy
- resource_name :thingy9
- end
- end
- end
-
context "when Thingy10 provides :thingy10" do
before(:context) {
class RecipeDSLSpecNamespace::Thingy10 < BaseThingy