diff options
author | Lamont Granquist <lamont@opscode.com> | 2021-04-21 18:55:30 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-21 18:55:30 -0700 |
commit | 0f311cb9dffd63929ec99c254f682272236d98e2 (patch) | |
tree | 8cdc132b94e1fe899e78c4d2e3e87793e2a154ce | |
parent | 0ac5de3b1dce312e635afcaaddf9eed1d8653418 (diff) | |
parent | 95830f92cb8ec8b26c5cc1e3acc491e703911a53 (diff) | |
download | chef-0f311cb9dffd63929ec99c254f682272236d98e2.tar.gz |
Merge pull request #11425 from chef/lcg/omit-cheffs-tests-ruby27
omit cheffs tests from ruby 2.7
-rw-r--r-- | spec/unit/chef_fs/diff_spec.rb | 2 | ||||
-rw-r--r-- | spec/unit/chef_fs/file_system_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/chef_fs/diff_spec.rb b/spec/unit/chef_fs/diff_spec.rb index 726adf8e50..98ab41ca61 100644 --- a/spec/unit/chef_fs/diff_spec.rb +++ b/spec/unit/chef_fs/diff_spec.rb @@ -20,7 +20,7 @@ require "spec_helper" require "chef/chef_fs/file_pattern" require "chef/chef_fs/command_line" -describe "diff", uses_diff: true do +describe "diff", uses_diff: true, ruby: ">= 3.0" do include FileSystemSupport # Removes the date stamp from the diff and replaces it with ' DATE' diff --git a/spec/unit/chef_fs/file_system_spec.rb b/spec/unit/chef_fs/file_system_spec.rb index 99ea6049ff..0d4ae6aa05 100644 --- a/spec/unit/chef_fs/file_system_spec.rb +++ b/spec/unit/chef_fs/file_system_spec.rb @@ -20,7 +20,7 @@ require "spec_helper" require "chef/chef_fs/file_system" require "chef/chef_fs/file_pattern" -describe Chef::ChefFS::FileSystem do +describe Chef::ChefFS::FileSystem, ruby: ">= 3.0" do include FileSystemSupport context "with empty filesystem" do |