diff options
Diffstat (limited to 'spec/unit/provider/service/openbsd_service_spec.rb')
-rw-r--r-- | spec/unit/provider/service/openbsd_service_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/unit/provider/service/openbsd_service_spec.rb b/spec/unit/provider/service/openbsd_service_spec.rb index 5f5dc80b85..b11015a63a 100644 --- a/spec/unit/provider/service/openbsd_service_spec.rb +++ b/spec/unit/provider/service/openbsd_service_spec.rb @@ -338,7 +338,7 @@ describe Chef::Provider::Service::Openbsd do allow(provider).to receive(:builtin_service_enable_variable_name).and_return("#{new_resource.service_name}_enable") end - %w(start reload restart enable).each do |action| + %w{start reload restart enable}.each do |action| it "should raise an exception when the action is #{action}" do provider.define_resource_requirements provider.action = action @@ -346,7 +346,7 @@ describe Chef::Provider::Service::Openbsd do 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.define_resource_requirements provider.action = action @@ -360,7 +360,7 @@ describe Chef::Provider::Service::Openbsd do allow(provider).to receive(:builtin_service_enable_variable_name).and_return(nil) end - %w(start reload restart enable).each do |action| + %w{start reload restart enable}.each do |action| it "should raise an exception when the action is #{action}" do provider.action = action provider.define_resource_requirements @@ -368,7 +368,7 @@ describe Chef::Provider::Service::Openbsd do 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 provider.define_resource_requirements |