diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2022-07-30 21:41:49 +0200 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-08-02 16:10:18 +0900 |
commit | bc90090672450a4ba3ba1025fbbad8991ee84b0e (patch) | |
tree | 5028e960d95e617fb1df5f4e89d22c5a83f60e6b | |
parent | f4f681463f71c2fc63e1a07f36f2665f2b9db002 (diff) |
[rubygems/rubygems] Check for errors in error stream
https://github.com/rubygems/rubygems/commit/7b0f7804f2
-rw-r--r-- | spec/bundler/install/gems/resolving_spec.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/bundler/install/gems/resolving_spec.rb b/spec/bundler/install/gems/resolving_spec.rb index a55db83dc4..069fa273b4 100644 --- a/spec/bundler/install/gems/resolving_spec.rb +++ b/spec/bundler/install/gems/resolving_spec.rb @@ -216,7 +216,7 @@ RSpec.describe "bundle install with install-time dependencies" do gem 'rack' G - expect(out).to_not include("rack-9001.0.0 requires ruby version > 9000") + expect(err).to_not include("rack-9001.0.0 requires ruby version > 9000") expect(the_bundle).to include_gems("rack 1.2") end @@ -237,7 +237,7 @@ RSpec.describe "bundle install with install-time dependencies" do gem 'rack' G - expect(out).to_not include("rack-9001.0.0 requires ruby version > 9000") + expect(err).to_not include("rack-9001.0.0 requires ruby version > 9000") expect(the_bundle).to include_gems("rack 1.2") end @@ -329,7 +329,7 @@ RSpec.describe "bundle install with install-time dependencies" do gem 'foo1' G - expect(out).to_not include("rack-9001.0.0 requires ruby version > 9000") + expect(err).to_not include("rack-9001.0.0 requires ruby version > 9000") expect(the_bundle).to include_gems("rack 1.2") end @@ -353,8 +353,8 @@ RSpec.describe "bundle install with install-time dependencies" do G end - expect(out).to_not include("rack-9001.0.0 requires ruby version > 9000") - expect(out).to_not include("rack-1.2-#{Bundler.local_platform} requires ruby version > 9000") + expect(err).to_not include("rack-9001.0.0 requires ruby version > 9000") + expect(err).to_not include("rack-1.2-#{Bundler.local_platform} requires ruby version > 9000") expect(the_bundle).to include_gems("rack 1.2") end end |