diff options
author | Colby Swandale <hello@colby.fyi> | 2018-07-17 00:21:31 +1000 |
---|---|---|
committer | Colby Swandale <hello@colby.fyi> | 2018-07-17 00:31:19 +1000 |
commit | 6bba89d4c869eb791e5e041d8fe892f994e08fda (patch) | |
tree | c3cd64bbab7383eb5dd8b4184ea5288d29d18d75 | |
parent | 9f672b9c946df83cee2720a0ecd4c1b7859cb17a (diff) | |
download | bundler-6bba89d4c869eb791e5e041d8fe892f994e08fda.tar.gz |
remove bundle 2 spec that tests features that is not available in 1-16-stable
-rw-r--r-- | spec/install/gemfile/sources_spec.rb | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/spec/install/gemfile/sources_spec.rb b/spec/install/gemfile/sources_spec.rb index 1c477e33a3..c814d0de76 100644 --- a/spec/install/gemfile/sources_spec.rb +++ b/spec/install/gemfile/sources_spec.rb @@ -616,31 +616,4 @@ RSpec.describe "bundle install with gems on multiple sources" do end end end - - context "when a gem is available from multiple ambiguous sources", :bundler => "2" do - it "raises, suggesting a source block" do - build_repo4 do - build_gem "depends_on_rack" do |s| - s.add_dependency "rack" - end - build_gem "rack" - end - - install_gemfile <<-G - source "file://localhost#{gem_repo4}" - source "file://localhost#{gem_repo1}" do - gem "thin" - end - gem "depends_on_rack" - G - expect(last_command).to be_failure - expect(last_command.stderr).to eq normalize_uri_file(strip_whitespace(<<-EOS).strip) - The gem 'rack' was found in multiple relevant sources. - * rubygems repository file://localhost#{gem_repo1}/ or installed locally - * rubygems repository file://localhost#{gem_repo4}/ or installed locally - You must add this gem to the source block for the source you wish it to be installed from. - EOS - expect(the_bundle).not_to be_locked - end - end end |