mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] These commands shouldn't be failing, just warning
04b1ac72b9
This commit is contained in:
parent
ad3537738c
commit
ef973aa7aa
1 changed files with 6 additions and 2 deletions
|
@ -364,7 +364,9 @@ RSpec.describe "bundle install with gem sources" do
|
||||||
end
|
end
|
||||||
|
|
||||||
it "throws a warning if a gem is added twice in Gemfile without version requirements" do
|
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)}"
|
source "#{file_uri_for(gem_repo2)}"
|
||||||
gem "rack"
|
gem "rack"
|
||||||
gem "rack"
|
gem "rack"
|
||||||
|
@ -376,7 +378,9 @@ RSpec.describe "bundle install with gem sources" do
|
||||||
end
|
end
|
||||||
|
|
||||||
it "throws a warning if a gem is added twice in Gemfile with same versions" do
|
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)}"
|
source "#{file_uri_for(gem_repo2)}"
|
||||||
gem "rack", "1.0"
|
gem "rack", "1.0"
|
||||||
gem "rack", "1.0"
|
gem "rack", "1.0"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue