diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2018-11-28 22:29:33 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2018-11-28 22:30:43 -0800 |
commit | 380505cc30dbe998c6bbbf070d5d9ee8d24babce (patch) | |
tree | 1c136dc4bca3c6684284d6c8911609a42a63bbb4 /spec/unit | |
parent | a7f11a6a59edd052fb526da373d2447327b722c8 (diff) | |
download | chef-380505cc30dbe998c6bbbf070d5d9ee8d24babce.tar.gz |
fix unit specslcg/snap_package_support
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec/unit')
-rw-r--r-- | spec/unit/provider/package/snap_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/provider/package/snap_spec.rb b/spec/unit/provider/package/snap_spec.rb index 89c2a649d9..674870824b 100644 --- a/spec/unit/provider/package/snap_spec.rb +++ b/spec/unit/provider/package/snap_spec.rb @@ -1,5 +1,5 @@ # Author:: S.Cavallo (smcavallo@hotmail.com) -# Copyright 2014-2018, Chef Software, Inc. <legal@chef.io> +# Copyright 2014-2018, Chef Software Inc. <legal@chef.io> # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -177,7 +177,7 @@ describe Chef::Provider::Package::Snap do describe "when calling async operations" do it "should should throw if the async response is an error" do - expect { provider.send(:get_id_from_async_response, result_fail) }.to raise_error + expect { provider.send(:get_id_from_async_response, result_fail) }.to raise_error(RuntimeError) end it "should get the id from an async response" do |