Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Remove now redundant configs
Browse files Browse the repository at this point in the history
Since deprecations are enabled by default.
  • Loading branch information
deivid-rodriguez committed Feb 21, 2019
1 parent cf7fa53 commit 10148a2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions spec/install/gemfile/sources_spec.rb
Expand Up @@ -25,7 +25,6 @@
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
Expand Down Expand Up @@ -55,7 +54,6 @@
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
Expand Down Expand Up @@ -249,7 +247,6 @@
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.")
Expand Down
2 changes: 0 additions & 2 deletions spec/other/major_deprecation_spec.rb
Expand Up @@ -5,8 +5,6 @@
let(:warnings_without_version_messages) { warnings.gsub(/#{Spec::Matchers::MAJOR_DEPRECATION}Bundler will only support ruby(gems)? >= .*/, "") }

before do
bundle "config set major_deprecations true"

create_file "gems.rb", <<-G
source "file:#{gem_repo1}"
ruby #{RUBY_VERSION.dump}
Expand Down

0 comments on commit 10148a2

Please sign in to comment.