diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-07-23 19:03:19 +0200 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-07-24 10:34:06 +0200 |
commit | 6cb28e3aeb7d01d9b8cecaa5f86eff056be9c8c3 (patch) | |
tree | c25c1c51af1284bb52cb23a86dd12116dc14d8ec | |
parent | 664549427a8421147cdd272fe5ab2c39923fab28 (diff) | |
download | bundler-6cb28e3aeb7d01d9b8cecaa5f86eff056be9c8c3.tar.gz |
Remove unnecessary indirections
These specs are only run on bundler 2, so the compatibility method is
not needed.
-rw-r--r-- | spec/commands/binstubs_spec.rb | 2 | ||||
-rw-r--r-- | spec/runtime/executable_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/commands/binstubs_spec.rb b/spec/commands/binstubs_spec.rb index 3e2f7a53de..f3e8233570 100644 --- a/spec/commands/binstubs_spec.rb +++ b/spec/commands/binstubs_spec.rb @@ -301,7 +301,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 diff --git a/spec/runtime/executable_spec.rb b/spec/runtime/executable_spec.rb index e293958f82..003be97cd6 100644 --- a/spec/runtime/executable_spec.rb +++ b/spec/runtime/executable_spec.rb @@ -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)}" |