diff options
Diffstat (limited to 'spec/functional/mixin')
-rw-r--r-- | spec/functional/mixin/powershell_out_spec.rb | 4 | ||||
-rw-r--r-- | spec/functional/mixin/shell_out_spec.rb | 14 |
2 files changed, 9 insertions, 9 deletions
diff --git a/spec/functional/mixin/powershell_out_spec.rb b/spec/functional/mixin/powershell_out_spec.rb index 9cc8aeed7e..9d966c0b55 100644 --- a/spec/functional/mixin/powershell_out_spec.rb +++ b/spec/functional/mixin/powershell_out_spec.rb @@ -15,8 +15,8 @@ # limitations under the License. # -require 'spec_helper' -require 'chef/mixin/powershell_out' +require "spec_helper" +require "chef/mixin/powershell_out" describe Chef::Mixin::PowershellOut, windows_only: true do include Chef::Mixin::PowershellOut diff --git a/spec/functional/mixin/shell_out_spec.rb b/spec/functional/mixin/shell_out_spec.rb index 8f8b54414a..3c05eec8aa 100644 --- a/spec/functional/mixin/shell_out_spec.rb +++ b/spec/functional/mixin/shell_out_spec.rb @@ -15,7 +15,7 @@ # limitations under the License. # -require 'spec_helper' +require "spec_helper" describe Chef::Mixin::ShellOut do include Chef::Mixin::ShellOut @@ -24,24 +24,24 @@ describe Chef::Mixin::ShellOut do describe "when environment['LC_ALL'] is not set" do it "should use the default shell_out setting" do cmd = if windows? - shell_out_with_systems_locale('echo %LC_ALL%') + shell_out_with_systems_locale("echo %LC_ALL%") else - shell_out_with_systems_locale('echo $LC_ALL') + shell_out_with_systems_locale("echo $LC_ALL") end - expect(cmd.stdout.chomp).to match_environment_variable('LC_ALL') + expect(cmd.stdout.chomp).to match_environment_variable("LC_ALL") end end describe "when environment['LC_ALL'] is set" do it "should use the option's setting" do cmd = if windows? - shell_out_with_systems_locale('echo %LC_ALL%', :environment => {'LC_ALL' => 'POSIX'}) + shell_out_with_systems_locale("echo %LC_ALL%", :environment => {"LC_ALL" => "POSIX"}) else - shell_out_with_systems_locale('echo $LC_ALL', :environment => {'LC_ALL' => 'POSIX'}) + shell_out_with_systems_locale("echo $LC_ALL", :environment => {"LC_ALL" => "POSIX"}) end - expect(cmd.stdout.chomp).to eq 'POSIX' + expect(cmd.stdout.chomp).to eq "POSIX" end end end |