summaryrefslogtreecommitdiff
path: root/spec/install/gemfile
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-01-17 14:11:03 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2020-02-27 21:21:35 +0100
commit3aebd84b62a1249766e2b78f83a2a9dd395b3b44 (patch)
tree1312e309e71ff04b43ed43e9b461dc938f5ffe37 /spec/install/gemfile
parentb8da66bf6efde9f995999c2dce7e36603d9c2bb4 (diff)
downloadbundler-3aebd84b62a1249766e2b78f83a2a9dd395b3b44.tar.gz
Revert "Revert "Remove now meaningless warning""
This reverts commit e93bce3b206895a46b9fb5889c5f908fd29ad554.
Diffstat (limited to 'spec/install/gemfile')
-rw-r--r--spec/install/gemfile/platform_spec.rb19
1 files changed, 0 insertions, 19 deletions
diff --git a/spec/install/gemfile/platform_spec.rb b/spec/install/gemfile/platform_spec.rb
index 2bbda133c9..c637eeee0c 100644
--- a/spec/install/gemfile/platform_spec.rb
+++ b/spec/install/gemfile/platform_spec.rb
@@ -412,25 +412,6 @@ RSpec.describe "bundle install with platform conditionals" do
#{Bundler::VERSION}
L
end
-
- context "when disable_platform_warnings is true" do
- before { bundle! "config set disable_platform_warnings true" }
-
- it "does not print the warning when a dependency is unused on any platform" do
- simulate_platform "ruby"
- simulate_ruby_engine "ruby"
-
- gemfile <<-G
- source "#{file_uri_for(gem_repo1)}"
-
- gem "rack", :platform => [:mingw, :mswin, :x64_mingw, :jruby]
- G
-
- bundle! "install"
-
- expect(out).not_to match(/The dependency (.*) will be unused/)
- end
- end
end
RSpec.describe "when a gem has no architecture" do