diff options
Diffstat (limited to 'spec/mixlib')
-rw-r--r-- | spec/mixlib/shellout/windows_spec.rb | 2 | ||||
-rw-r--r-- | spec/mixlib/shellout_spec.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/spec/mixlib/shellout/windows_spec.rb b/spec/mixlib/shellout/windows_spec.rb index 1011560..2b273a6 100644 --- a/spec/mixlib/shellout/windows_spec.rb +++ b/spec/mixlib/shellout/windows_spec.rb @@ -190,7 +190,7 @@ describe "Mixlib::ShellOut::Windows", :windows_only do end end - # quoted and unqouted commands that have correct bat and cmd extensions + # quoted and unquoted commands that have correct bat and cmd extensions with_command("autoexec.bat", filename: "autoexec.bat") do is_expected.to eql([ comspec, 'cmd /c "autoexec.bat"']) end diff --git a/spec/mixlib/shellout_spec.rb b/spec/mixlib/shellout_spec.rb index 35757eb..0d444a3 100644 --- a/spec/mixlib/shellout_spec.rb +++ b/spec/mixlib/shellout_spec.rb @@ -460,7 +460,7 @@ describe Mixlib::ShellOut do expect(shell_cmd.umask).to eql(002222) end - it "should set the timout" do + it "should set the timeout" do expect(shell_cmd.timeout).to eql(timeout) end @@ -472,7 +472,7 @@ describe Mixlib::ShellOut do context "when setting the :env option" do let(:options) { { env: environment } } - it "should also set the enviroment" do + it "should also set the environment" do expect(shell_cmd.environment).to eql({ "RUBY_OPTS" => "-w" }) end end |