1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[bundler/bundler] Remove unnecessary indirections

These specs are only run on bundler 2, so the compatibility method is
not needed.

https://github.com/bundler/bundler/commit/6cb28e3aeb
This commit is contained in:
David Rodríguez 2019-07-23 19:03:19 +02:00 committed by Hiroshi SHIBATA
parent 30d10be036
commit 322d4fe98d
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2
2 changed files with 2 additions and 2 deletions

View file

@ -309,7 +309,7 @@ RSpec.describe "bundle binstubs <gem>" do
gem "rails"
G
bundle! "binstubs rack", forgotten_command_line_options([:path, :bin] => "exec")
bundle! "binstubs rack", :path => "exec"
bundle! :install
expect(bundled_app("exec/rails")).to exist

View file

@ -116,7 +116,7 @@ RSpec.describe "Running bin/* commands" do
gem "activesupport"
G
bundle! :install, forgotten_command_line_options([:binstubs, :bin] => "bin")
bundle! :install, :binstubs => "bin"
gemfile <<-G
source "#{file_uri_for(gem_repo1)}"