diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-07-23 19:03:19 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-08-03 09:29:59 +0900 |
commit | 322d4fe98dd5db50ed4088dc9966dfc8813d6672 (patch) | |
tree | f1c0a850a7b792b4afa4e52aaabcd8f14a33eab0 /spec | |
parent | 30d10be036c2f57f6ba4d605f73c2ab9a07075b8 (diff) |
[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
Diffstat (limited to 'spec')
-rw-r--r-- | spec/bundler/commands/binstubs_spec.rb | 2 | ||||
-rw-r--r-- | spec/bundler/runtime/executable_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/bundler/commands/binstubs_spec.rb b/spec/bundler/commands/binstubs_spec.rb index c8d45d489d..748cf6362f 100644 --- a/spec/bundler/commands/binstubs_spec.rb +++ b/spec/bundler/commands/binstubs_spec.rb @@ -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 diff --git a/spec/bundler/runtime/executable_spec.rb b/spec/bundler/runtime/executable_spec.rb index e293958f82..003be97cd6 100644 --- a/spec/bundler/runtime/executable_spec.rb +++ b/spec/bundler/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)}" |