diff options
Diffstat (limited to 'spec/bundler/runtime/setup_spec.rb')
-rw-r--r-- | spec/bundler/runtime/setup_spec.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/bundler/runtime/setup_spec.rb b/spec/bundler/runtime/setup_spec.rb index e47e64de29..cbb31f7350 100644 --- a/spec/bundler/runtime/setup_spec.rb +++ b/spec/bundler/runtime/setup_spec.rb @@ -1406,7 +1406,6 @@ end describe "default gem activation" do let(:exemptions) do exempts = %w[did_you_mean bundler uri pathname] - exempts << "etc" if (Gem.ruby_version < Gem::Version.new("3.2") || Gem.ruby_version >= Gem::Version.new("3.3.2")) && Gem.win_platform? exempts << "error_highlight" # added in Ruby 3.1 as a default gem exempts << "ruby2_keywords" # added in Ruby 3.1 as a default gem exempts << "syntax_suggest" # added in Ruby 3.2 as a default gem @@ -1525,7 +1524,7 @@ end end describe "after setup" do - it "allows calling #gem on random objects", bundler: "< 3" do + it "allows calling #gem on random objects", bundler: "2" do install_gemfile <<-G source "https://gem.repo1" gem "myrack" @@ -1540,7 +1539,7 @@ end expect(out).to eq("myrack-1.0.0") end - it "keeps Kernel#gem private", bundler: "3" do + it "keeps Kernel#gem private", bundler: "4" do install_gemfile <<-G source "https://gem.repo1" gem "myrack" |