summaryrefslogtreecommitdiff
path: root/spec/unit/node_map_spec.rb
diff options
context:
space:
mode:
authorKartik Null Cating-Subramanian <ksubramanian@chef.io>2016-04-21 13:26:30 -0400
committerKartik Null Cating-Subramanian <ksubramanian@chef.io>2016-04-25 12:04:09 -0400
commit2034305917a76d4c203e457a9ebf61d28819ccbd (patch)
treed43562f4902ab0db80b4178ffefbdff825f4d66f /spec/unit/node_map_spec.rb
parentd5039e38977b9da431fcb52670576561d772aa27 (diff)
downloadchef-2034305917a76d4c203e457a9ebf61d28819ccbd.tar.gz
Too much log output and unnecessary warnings! Suppress that shit.
Diffstat (limited to 'spec/unit/node_map_spec.rb')
-rw-r--r--spec/unit/node_map_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/node_map_spec.rb b/spec/unit/node_map_spec.rb
index 0eb251ac8d..0480a721af 100644
--- a/spec/unit/node_map_spec.rb
+++ b/spec/unit/node_map_spec.rb
@@ -27,7 +27,7 @@ describe Chef::NodeMap do
describe "with a bad filter name" do
it "should raise an error" do
- expect { node_map.set(node, :thing, on_platform_family: "rhel") }.to raise_error
+ expect { node_map.set(node, :thing, on_platform_family: "rhel") }.to raise_error(ArgumentError)
end
end