diff options
author | Claire McQuin <claire@getchef.com> | 2014-10-29 15:14:22 -0700 |
---|---|---|
committer | Claire McQuin <claire@getchef.com> | 2014-10-29 15:59:04 -0700 |
commit | 5fed7a65a2f024d964ecf2de1bcf2911cf8a600c (patch) | |
tree | 14cc6968e4fe4fd2485c0211088b25c645a80a4b /spec/functional/shell_spec.rb | |
parent | b92c309b0f1aa0837f76ab89d6c81c36076ceca9 (diff) | |
download | chef-5fed7a65a2f024d964ecf2de1bcf2911cf8a600c.tar.gz |
Update to RSpec 3.
Diffstat (limited to 'spec/functional/shell_spec.rb')
-rw-r--r-- | spec/functional/shell_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/functional/shell_spec.rb b/spec/functional/shell_spec.rb index f2ce3f53e4..fa9de77b0e 100644 --- a/spec/functional/shell_spec.rb +++ b/spec/functional/shell_spec.rb @@ -105,7 +105,7 @@ describe Shell do it "boots correctly with -lauto" do output, exitstatus = run_chef_shell_with("-lauto") - output.should include("done") + expect(output).to include("done") expect(exitstatus).to eq(0) end @@ -115,7 +115,7 @@ describe Shell do keyboard.puts(show_log_level_code) read_until(out, show_log_level_code) end - output.should include("===fatal===") + expect(output).to include("===fatal===") expect(exitstatus).to eq(0) end @@ -125,7 +125,7 @@ describe Shell do keyboard.puts(show_recipes_code) read_until(out, show_recipes_code) end - output.should include(%q{["override::foo", "override::bar"]}) + expect(output).to include(%q{["override::foo", "override::bar"]}) expect(exitstatus).to eq(0) end end |