diff options
Diffstat (limited to 'spec/unit/search/query_spec.rb')
-rw-r--r-- | spec/unit/search/query_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/search/query_spec.rb b/spec/unit/search/query_spec.rb index d880f49a4b..7463e3bb3c 100644 --- a/spec/unit/search/query_spec.rb +++ b/spec/unit/search/query_spec.rb @@ -42,8 +42,8 @@ describe Chef::Search::Query do end it "should accept a type as the first argument" do - lambda { @query.search("foo") }.should_not raise_error(ArgumentError) - lambda { @query.search(:foo) }.should_not raise_error(ArgumentError) + lambda { @query.search("foo") }.should_not raise_error + lambda { @query.search(:foo) }.should_not raise_error lambda { @query.search(Hash.new) }.should raise_error(ArgumentError) end |