diff options
author | Salim Alam <salam@chef.io> | 2016-01-20 10:09:23 -0800 |
---|---|---|
committer | Salim Alam <salam@chef.io> | 2016-01-20 13:49:21 -0800 |
commit | 3dcc169d88879851065a04a94bea27a48192a2a6 (patch) | |
tree | e62c8040c9fb3d3f5ed33cdccbbf4e28a985a9a0 /acceptance | |
parent | b2134edcb616117cdad9a5c117b0dd93ffe3c4bb (diff) | |
download | chef-3dcc169d88879851065a04a94bea27a48192a2a6.tar.gz |
Fix Rubocop errorssalam/windows-service-test
Diffstat (limited to 'acceptance')
-rw-r--r-- | acceptance/windows-service/test/integration/chef-windows-service/inspec/chef_windows_service_spec.rb | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/acceptance/windows-service/test/integration/chef-windows-service/inspec/chef_windows_service_spec.rb b/acceptance/windows-service/test/integration/chef-windows-service/inspec/chef_windows_service_spec.rb index 8d13a0c26b..ec90ac083b 100644 --- a/acceptance/windows-service/test/integration/chef-windows-service/inspec/chef_windows_service_spec.rb +++ b/acceptance/windows-service/test/integration/chef-windows-service/inspec/chef_windows_service_spec.rb @@ -1,57 +1,57 @@ only_if do - os['family'] == 'windows' + os["family"] == "windows" end describe command("chef-service-manager") do it { should exist } - its('exit_status') { should eq 0 } + its("exit_status") { should eq 0 } end -describe service('chef-client') do +describe service("chef-client") do it { should_not be_enabled } it { should_not be_installed } it { should_not be_running } end describe command("chef-service-manager -a install") do - its('exit_status') { should eq 0 } + its("exit_status") { should eq 0 } its(:stdout) { should match /Service 'chef-client' has successfully been installed./} end -describe service('chef-client') do +describe service("chef-client") do it { should be_enabled } it { should be_installed } it { should_not be_running } end describe command("chef-service-manager -a start") do - its('exit_status') { should eq 0 } + its("exit_status") { should eq 0 } its(:stdout) { should match /Service 'chef-client' is now 'running'/} end -describe service('chef-client') do +describe service("chef-client") do it { should be_enabled } it { should be_installed } it { should be_running } end describe command("chef-service-manager -a stop") do - its('exit_status') { should eq 0 } + its("exit_status") { should eq 0 } its(:stdout) { should match /Service 'chef-client' is now 'stopped'/} end -describe service('chef-client') do +describe service("chef-client") do it { should be_enabled } it { should be_installed } it { should_not be_running } end describe command("chef-service-manager -a uninstall") do - its('exit_status') { should eq 0 } + its("exit_status") { should eq 0 } its(:stdout) { should match /Service chef-client deleted/} end -describe service('chef-client') do +describe service("chef-client") do it { should_not be_enabled } it { should_not be_installed } it { should_not be_running } |