summaryrefslogtreecommitdiff
path: root/spec/unit/resource/windows_service_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/resource/windows_service_spec.rb')
-rw-r--r--spec/unit/resource/windows_service_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/resource/windows_service_spec.rb b/spec/unit/resource/windows_service_spec.rb
index b44a86d04a..53cf1bc0f8 100644
--- a/spec/unit/resource/windows_service_spec.rb
+++ b/spec/unit/resource/windows_service_spec.rb
@@ -48,7 +48,7 @@ describe Chef::Resource::WindowsService, "initialize" do
expect { resource.action :unmask }.not_to raise_error
end
- [:automatic, :manual, :disabled].each do |type|
+ %i{automatic manual disabled}.each do |type|
it "supports setting startup_type property to #{type.inspect}" do
resource.startup_type type
expect(resource.startup_type).to eql(type)
@@ -69,7 +69,7 @@ describe Chef::Resource::WindowsService, "initialize" do
end
end
- [:automatic, :manual, :disabled].each do |type|
+ %i{automatic manual disabled}.each do |type|
it "supports setting startup_type property to #{type.inspect}" do
resource.startup_type type
expect(resource.startup_type).to eql(type)