summaryrefslogtreecommitdiff
path: root/spec/unit/platform_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/platform_spec.rb')
-rw-r--r--spec/unit/platform_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/platform_spec.rb b/spec/unit/platform_spec.rb
index 4ad2b3e9c0..e37e00bc43 100644
--- a/spec/unit/platform_spec.rb
+++ b/spec/unit/platform_spec.rb
@@ -171,11 +171,11 @@ describe Chef::Platform do
it "raises an error when trying to find the provider for a resource with no run context" do
file = Chef::Resource::File.new("whateva")
- expect {Chef::Platform.provider_for_resource(file)}.to raise_error(ArgumentError)
+ expect { Chef::Platform.provider_for_resource(file) }.to raise_error(ArgumentError)
end
it "does not support finding a provider by resource and node -- a run context is required" do
- expect {Chef::Platform.provider_for_node("node", "resource")}.to raise_error(NotImplementedError)
+ expect { Chef::Platform.provider_for_node("node", "resource") }.to raise_error(NotImplementedError)
end
it "should update the provider map with map" do