diff --git a/spec/runtime/setup_spec.rb b/spec/runtime/setup_spec.rb index c17662d05165..729675b64ea8 100644 --- a/spec/runtime/setup_spec.rb +++ b/spec/runtime/setup_spec.rb @@ -270,7 +270,7 @@ def clean_load_path(lp) ruby "require 'bundler'; Bundler.setup" expect(out).to include("Resolving dependencies...") lockfile = File.read(bundled_app_lock) - expect(lockfile).to include("CHECKSUMS\n myrack (1.0.0)\n") + expect(lockfile).to match(/^CHECKSUMS\n(?: .+\n)* myrack \(1\.0\.0\)\n/) ruby "require 'bundler'; Bundler.setup" expect(out).not_to include("Resolving dependencies...") diff --git a/test/rubygems/test_gem_specification.rb b/test/rubygems/test_gem_specification.rb index 23bad23b504a..d07e55847107 100644 --- a/test/rubygems/test_gem_specification.rb +++ b/test/rubygems/test_gem_specification.rb @@ -710,6 +710,7 @@ def test_self_attribute_names end def test_self_dirs_equals_with_unresolved_deps + pend_for_ruby_box_stdio_capture a = util_spec "a", 1 b = util_spec "b", 1 install_gem_user a