diff options
author | Claire McQuin <claire@getchef.com> | 2014-11-03 15:11:32 -0800 |
---|---|---|
committer | Claire McQuin <claire@getchef.com> | 2014-11-03 15:11:32 -0800 |
commit | e103dd534d62a88d41c2e927d37591fdcf54dc06 (patch) | |
tree | f69b4eea1859330619f222fce8e37318efa64c8f | |
parent | c64b01083a6ca891ae7dfe52f95836a5a7013deb (diff) | |
download | chef-e103dd534d62a88d41c2e927d37591fdcf54dc06.tar.gz |
Remove remaining should syntax.
-rw-r--r-- | spec/functional/resource/link_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/functional/resource/link_spec.rb b/spec/functional/resource/link_spec.rb index c8f64cbd20..b4c6412e5d 100644 --- a/spec/functional/resource/link_spec.rb +++ b/spec/functional/resource/link_spec.rb @@ -582,12 +582,12 @@ describe Chef::Resource::Link do resource.run_action(:create) # Windows and Unix have different definitions of exists? here, and that's OK. if windows? - File.exists?(target_file).should be_truthy + expect(File.exists?(target_file)).to be_truthy else - File.exists?(target_file).should be_falsey + expect(File.exists?(target_file)).to be_falsey end - symlink?(target_file).should be_truthy - paths_eql?(readlink(target_file), @other_target).should be_truthy + expect(symlink?(target_file)).to be_truthy + expect(paths_eql?(readlink(target_file), @other_target)).to be_truthy end include_context 'delete is noop' end |