summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2024-10-11 14:02:38 +0200
committergit <svn-admin@ruby-lang.org>2024-10-23 08:52:45 +0000
commitffd51926bf1db49b4147398cc40fcb552958776c (patch)
treea4acccdb08878c1af59464c679ebafeb84d0a3a6 /spec
parentad853544526ccfd7092340e1a09a07e0a327c955 (diff)
[rubygems/rubygems] Remove the need for some bundler monkeypatches
https://github.com/rubygems/rubygems/commit/f530f8686d
Diffstat (limited to 'spec')
-rw-r--r--spec/bundler/runtime/setup_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/bundler/runtime/setup_spec.rb b/spec/bundler/runtime/setup_spec.rb
index d46cebc3a0..706f352ec5 100644
--- a/spec/bundler/runtime/setup_spec.rb
+++ b/spec/bundler/runtime/setup_spec.rb
@@ -366,7 +366,8 @@ RSpec.describe "Bundler.setup" do
it "removes system gems from Gem.source_index" do
run "require 'yard'"
- expect(out).to eq("bundler-#{Bundler::VERSION}\nyard-1.0")
+ expect(out).to include("bundler-#{Bundler::VERSION}").and include("yard-1.0")
+ expect(out).not_to include("activesupport-2.3.5")
end
context "when the ruby stdlib is a substring of Gem.path" do