diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-07-07 07:02:38 -0700 |
---|---|---|
committer | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-07-07 07:02:38 -0700 |
commit | 1dc20627aa5d742376269dc5b4d5c67f34d08008 (patch) | |
tree | 8f26017e7ce9e7168e010260a87c39b737ba5855 /spec/unit/platform_spec.rb | |
parent | 283b8d21e2f347afea5f8ce8c4366588295a845a (diff) | |
parent | 4245098873f2d5f6ec2759dda5b3238bf8f0dd8a (diff) | |
download | chef-12.4.1.tar.gz |
Merge pull request #3639 from chef/jdm/12.4.112.4.1
12.4.1
Diffstat (limited to 'spec/unit/platform_spec.rb')
-rw-r--r-- | spec/unit/platform_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/platform_spec.rb b/spec/unit/platform_spec.rb index 36325d5411..34b46f657f 100644 --- a/spec/unit/platform_spec.rb +++ b/spec/unit/platform_spec.rb @@ -103,7 +103,7 @@ describe Chef::Platform do end it "should raise an exception if a provider cannot be found for a resource type" do - expect { Chef::Platform.find_provider("Darwin", "9.2.2", :coffee) }.to raise_error(ArgumentError) + expect { Chef::Platform.find_provider("Darwin", "9.2.2", :coffee) }.to raise_error(Chef::Exceptions::ProviderNotFound) end it "should look up a provider for a resource with a Chef::Resource object" do |