summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-07-28 10:24:36 -0700
committerTim Smith <tsmith84@gmail.com>2020-07-28 10:30:32 -0700
commit5aefd6da7b65e491467970df1da1da8393be8da4 (patch)
tree22374a9352754acd4dff977bea4795f9e1d79e81 /spec
parente73f02eb5bf1b3a78c8912716ecb95ffdfc78849 (diff)
downloadmixlib-shellout-5aefd6da7b65e491467970df1da1da8393be8da4.tar.gz
Fix a few typosspelling
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec')
-rw-r--r--spec/mixlib/shellout/windows_spec.rb2
-rw-r--r--spec/mixlib/shellout_spec.rb4
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