summaryrefslogtreecommitdiff
path: root/spec/unit/provider/service/redhat_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/provider/service/redhat_spec.rb')
-rw-r--r--spec/unit/provider/service/redhat_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/provider/service/redhat_spec.rb b/spec/unit/provider/service/redhat_spec.rb
index 7023e6848a..9b878abcd6 100644
--- a/spec/unit/provider/service/redhat_spec.rb
+++ b/spec/unit/provider/service/redhat_spec.rb
@@ -150,14 +150,14 @@ describe "Chef::Provider::Service::Redhat" do
@provider.define_resource_requirements
end
- %w(start reload restart enable).each do |action|
+ %w{start reload restart enable}.each do |action|
it "should raise an error when the action is #{action}" do
@provider.action = action
expect { @provider.process_resource_requirements }.to raise_error(Chef::Exceptions::Service)
end
end
- %w(stop disable).each do |action|
+ %w{stop disable}.each do |action|
it "should not raise an error when the action is #{action}" do
@provider.action = action
expect { @provider.process_resource_requirements }.not_to raise_error