diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-06-19 17:02:55 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-08-03 09:29:57 +0900 |
commit | dae6d303d5aa13eeeb482398eb748b3a8f4edcfa (patch) | |
tree | 46766c412e6e03427062e8140ec12a5a03e505fa /spec | |
parent | c1ca77281d60e5b81dd4ba0df36f7ea6abf3f92a (diff) | |
download | ruby-dae6d303d5aa13eeeb482398eb748b3a8f4edcfa.tar.gz |
[bundler/bundler] Remove now meaningless warning
https://github.com/bundler/bundler/commit/00b095b98f
Diffstat (limited to 'spec')
-rw-r--r-- | spec/bundler/install/gemfile/platform_spec.rb | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/spec/bundler/install/gemfile/platform_spec.rb b/spec/bundler/install/gemfile/platform_spec.rb index 4cbf238416..d065e10600 100644 --- a/spec/bundler/install/gemfile/platform_spec.rb +++ b/spec/bundler/install/gemfile/platform_spec.rb @@ -406,25 +406,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 |