diff options
author | John Keiser <john@johnkeiser.com> | 2015-05-06 16:18:09 -0700 |
---|---|---|
committer | John Keiser <john@johnkeiser.com> | 2015-06-02 09:53:39 -0700 |
commit | bab8044c6315a106fcd59e1d574e88ff5475b801 (patch) | |
tree | 5bd435470dc74b2ad4339b73ace44d2e8d5afcae /spec/unit/recipe_spec.rb | |
parent | 9fae7c1c1cf6f75834e309692a6b45dcbab11de1 (diff) | |
download | chef-bab8044c6315a106fcd59e1d574e88ff5475b801.tar.gz |
Remove ambiguous resolution warning test (it is no longer ambiguous)
Diffstat (limited to 'spec/unit/recipe_spec.rb')
-rw-r--r-- | spec/unit/recipe_spec.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/spec/unit/recipe_spec.rb b/spec/unit/recipe_spec.rb index 86f9a2d1d7..a4c0af882f 100644 --- a/spec/unit/recipe_spec.rb +++ b/spec/unit/recipe_spec.rb @@ -155,13 +155,6 @@ describe Chef::Recipe do Object.send(:remove_const, :TottenhamHotspur) end - it "warns if resolution of the two resources is ambiguous" do - expect(Chef::Log).to receive(:warn).at_least(:once).with(/Ambiguous resource precedence/) - res1 = recipe.football "club world cup" - expect(res1.name).to eql("club world cup") - # the class of res1 is not defined. - end - it "selects one if it is given priority" do expect(Chef::Log).not_to receive(:warn) Chef::Platform::ResourcePriorityMap.instance.send(:priority, :football, TottenhamHotspur, platform: "nbc_sports") |