diff options
author | Jan Habermann <jan@habermann24.com> | 2014-12-31 18:07:12 +0100 |
---|---|---|
committer | Jan Habermann <jan@habermann24.com> | 2014-12-31 18:07:12 +0100 |
commit | 6d60b9b26a46f6bd66b1dd67caa12356a2e89116 (patch) | |
tree | aad0532f9133b728397131940418889fc9c40593 | |
parent | f9f826f353fb96da9ed6f59592b83463e03a3aa5 (diff) | |
download | chef-6d60b9b26a46f6bd66b1dd67caa12356a2e89116.tar.gz |
Use new expect syntax instead of should
-rw-r--r-- | spec/unit/chef_fs/file_pattern_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/chef_fs/file_pattern_spec.rb b/spec/unit/chef_fs/file_pattern_spec.rb index cdf506225a..a9f06e8424 100644 --- a/spec/unit/chef_fs/file_pattern_spec.rb +++ b/spec/unit/chef_fs/file_pattern_spec.rb @@ -355,7 +355,7 @@ describe Chef::ChefFS::FilePattern do it 'could_match_children? /abc** returns false for /xyz' do pending 'Make could_match_children? more rigorous' # At the moment, we return false for this, but in the end it would be nice to return true: - pattern.could_match_children?('/xyz').should be_falsey + expect(pattern.could_match_children?('/xyz')).to be_falsey end it 'exact_child_name_under' do expect(pattern.exact_child_name_under('/')).to eq(nil) |