mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Enforce bundler platform (and default gem) to keep invalid gemspec test compatible with ruby-trunk.
https://github.com/rubygems/rubygems/commit/a77061d4e9
This commit is contained in:
parent
9b7afd3cff
commit
71b370f6dd
1 changed files with 2 additions and 1 deletions
|
@ -197,10 +197,11 @@ RSpec.describe "real world edgecases", :realworld => true do
|
|||
end
|
||||
|
||||
it "outputs a helpful error message when gems have invalid gemspecs" do
|
||||
install_gemfile <<-G, :standalone => true, :raise_on_error => false
|
||||
install_gemfile <<-G, :standalone => true, :raise_on_error => false, :env => { "BUNDLE_FORCE_RUBY_PLATFORM" => "1" }
|
||||
source 'https://rubygems.org'
|
||||
gem "resque-scheduler", "2.2.0"
|
||||
gem "redis-namespace", "1.6.0" # for a consistent resolution including ruby 2.3.0
|
||||
gem "ruby2_keywords", "0.0.5"
|
||||
G
|
||||
expect(err).to include("You have one or more invalid gemspecs that need to be fixed.")
|
||||
expect(err).to include("resque-scheduler 2.2.0 has an invalid gemspec")
|
||||
|
|
Loading…
Reference in a new issue