Skip to content

Commit

Permalink
Last failing spec
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez committed Apr 6, 2019
1 parent 1ef7553 commit 6448974
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions test/rubygems/test_gem.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1829,11 +1829,20 @@ def test_use_gemdeps_missing_gem
end
expected =
if Gem::USE_BUNDLER_FOR_GEMDEPS
<<-EXPECTED
if Bundler.feature_flag.lockfile_uses_separate_rubygems_sources?
<<-EXPECTED
Could not find gem 'a' in locally installed gems.
The source does not contain any versions of 'a'
You may need to `gem install -g` to install missing gems
EXPECTED
else
<<-EXPECTED
Could not find gem 'a#{platform}' in any of the gem sources listed in your Gemfile.
You may need to `gem install -g` to install missing gems
EXPECTED
EXPECTED
end
else
<<-EXPECTED
Unable to resolve dependency: user requested 'a (>= 0)'
Expand Down

0 comments on commit 6448974

Please sign in to comment.