summaryrefslogtreecommitdiff
path: root/spec/functional/version_spec.rb
diff options
context:
space:
mode:
authortyler-ball <tyleraball@gmail.com>2014-11-04 08:17:39 -0800
committertyler-ball <tyleraball@gmail.com>2014-11-04 08:17:39 -0800
commitd6687d195091ab67a00ac5d61ededbb7958f32ad (patch)
tree2765b1c52a021033e44c6ba38287d7fb77704914 /spec/functional/version_spec.rb
parente5c35f74b8451139605fc5c986eb51405d53d4c2 (diff)
parent4fa0ea6f9b942d407b83712ec53e19447ddfa39b (diff)
downloadchef-tball/audit-rspec-3.tar.gz
Merging mcquin/rspec-3 to this branchtball/audit-rspec-3
Diffstat (limited to 'spec/functional/version_spec.rb')
-rw-r--r--spec/functional/version_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/version_spec.rb b/spec/functional/version_spec.rb
index a342206161..71ba4d5b2f 100644
--- a/spec/functional/version_spec.rb
+++ b/spec/functional/version_spec.rb
@@ -28,7 +28,7 @@ describe "Chef Versions" do
binaries.each do |binary|
it "#{binary} version should be sane" do
- shell_out!("ruby #{File.join("bin", binary)} -v", :cwd => chef_dir).stdout.chomp.should == "Chef: #{Chef::VERSION}"
+ expect(shell_out!("ruby #{File.join("bin", binary)} -v", :cwd => chef_dir).stdout.chomp).to eq("Chef: #{Chef::VERSION}")
end
end