зеркало из https://github.com/github/ruby.git
[rubygems/rubygems] These commands shouldn't be failing, just warning
https://github.com/rubygems/rubygems/commit/04b1ac72b9
This commit is contained in:
Родитель
ad3537738c
Коммит
ef973aa7aa
|
@ -364,7 +364,9 @@ RSpec.describe "bundle install with gem sources" do
|
|||
end
|
||||
|
||||
it "throws a warning if a gem is added twice in Gemfile without version requirements" do
|
||||
install_gemfile <<-G, :raise_on_error => false
|
||||
build_repo2
|
||||
|
||||
install_gemfile <<-G
|
||||
source "#{file_uri_for(gem_repo2)}"
|
||||
gem "rack"
|
||||
gem "rack"
|
||||
|
@ -376,7 +378,9 @@ RSpec.describe "bundle install with gem sources" do
|
|||
end
|
||||
|
||||
it "throws a warning if a gem is added twice in Gemfile with same versions" do
|
||||
install_gemfile <<-G, :raise_on_error => false
|
||||
build_repo2
|
||||
|
||||
install_gemfile <<-G
|
||||
source "#{file_uri_for(gem_repo2)}"
|
||||
gem "rack", "1.0"
|
||||
gem "rack", "1.0"
|
||||
|
|
Загрузка…
Ссылка в новой задаче