summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2021-03-22 11:51:50 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2021-03-22 11:51:50 -0700
commit954374868a151c60ca1962d0a00be94dd81de106 (patch)
treee0e6575ad50a1a4fff50250a2d364b854d06e1e9 /spec
parent5bc8d37cec7857f1ea95c86d157467c2bbf0b4b5 (diff)
downloadchef-954374868a151c60ca1962d0a00be94dd81de106.tar.gz
Fix the ruby-3 omnibus builds/tests
This switches omnibus to using the post-bundle-install hook Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec')
-rw-r--r--spec/unit/provider/package/rubygems_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/provider/package/rubygems_spec.rb b/spec/unit/provider/package/rubygems_spec.rb
index 7153d6be3e..30b05e546a 100644
--- a/spec/unit/provider/package/rubygems_spec.rb
+++ b/spec/unit/provider/package/rubygems_spec.rb
@@ -103,7 +103,7 @@ describe Chef::Provider::Package::Rubygems::CurrentGemEnvironment do
expect(Gem.sources).to eq(normal_sources)
end
- context "new default rubygems behavior" do
+ context "new default rubygems behavior", ruby: ">= 3.0" do
before do
Chef::Config[:rubygems_cache_enabled] = false