summaryrefslogtreecommitdiff
path: root/spec/install/gemfile
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-02-21 13:39:49 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-02-21 16:32:24 +0100
commit85f194d805a13f1e920ebc6e0e372345b5890be8 (patch)
treee51bc71de4d01d19815710e8e029352ea282afb1 /spec/install/gemfile
parent82d41768b73db8b4a994bc465a12fe2440efa434 (diff)
downloadbundler-85f194d805a13f1e920ebc6e0e372345b5890be8.tar.gz
Remove now redundant configs
Since deprecations are enabled by default.
Diffstat (limited to 'spec/install/gemfile')
-rw-r--r--spec/install/gemfile/sources_spec.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/spec/install/gemfile/sources_spec.rb b/spec/install/gemfile/sources_spec.rb
index 0af77cf862..c8f46e48c8 100644
--- a/spec/install/gemfile/sources_spec.rb
+++ b/spec/install/gemfile/sources_spec.rb
@@ -25,7 +25,6 @@ RSpec.describe "bundle install with gems on multiple sources" do
gem "rack-obama"
gem "rack"
G
- bundle "config set major_deprecations true"
end
it "warns about ambiguous gems, but installs anyway, prioritizing sources last to first", :bundler => "< 2" do
@@ -55,7 +54,6 @@ RSpec.describe "bundle install with gems on multiple sources" do
gem "rack-obama"
gem "rack", "1.0.0" # force it to install the working version in repo1
G
- bundle "config set major_deprecations true"
end
it "warns about ambiguous gems, but installs anyway", :bundler => "< 2" do
@@ -249,7 +247,6 @@ RSpec.describe "bundle install with gems on multiple sources" do
end
it "installs from the other source and warns about ambiguous gems", :bundler => "< 2" do
- bundle "config set major_deprecations true"
bundle :install
expect(out).to have_major_deprecation a_string_including("Your Gemfile contains multiple primary sources.")
expect(out).to include("Warning: the gem 'rack' was found in multiple sources.")