summaryrefslogtreecommitdiff
path: root/spec/unit/platform_spec.rb
diff options
context:
space:
mode:
authorJay Mundrawala <jdmundrawala@gmail.com>2015-07-07 07:02:38 -0700
committerJay Mundrawala <jdmundrawala@gmail.com>2015-07-07 07:02:38 -0700
commit1dc20627aa5d742376269dc5b4d5c67f34d08008 (patch)
tree8f26017e7ce9e7168e010260a87c39b737ba5855 /spec/unit/platform_spec.rb
parent283b8d21e2f347afea5f8ce8c4366588295a845a (diff)
parent4245098873f2d5f6ec2759dda5b3238bf8f0dd8a (diff)
downloadchef-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.rb2
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