summaryrefslogtreecommitdiff
path: root/spec/unit/recipe_spec.rb
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/unit/recipe_spec.rb
parent1360d2ca0c43d22f634deb74f097edfcc73c1a3e (diff)
downloadchef-d62844985c5e5493580605355e8376c8acc4009e.tar.gz
Remove warnings from tests too.
Diffstat (limited to 'spec/unit/recipe_spec.rb')
-rw-r--r--spec/unit/recipe_spec.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/unit/recipe_spec.rb b/spec/unit/recipe_spec.rb
index 511e7e9397..d74bbddb40 100644
--- a/spec/unit/recipe_spec.rb
+++ b/spec/unit/recipe_spec.rb
@@ -154,8 +154,6 @@ describe Chef::Recipe do
end
it "selects the first one alphabetically" do
- expect(Chef::Log).to receive(:warn).with("You declared a new resource TottenhamHotspur for resource football, but it comes alphabetically after Sounders and has the same filters ({:platform=>\"nbc_sports\"}), so it will not be used. Use override: true if you want to use it for football.")
-
Sounders.provides :football, platform: "nbc_sports"
TottenhamHotspur.provides :football, platform: "nbc_sports"