summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-07-23 19:03:19 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-07-24 10:34:06 +0200
commit6cb28e3aeb7d01d9b8cecaa5f86eff056be9c8c3 (patch)
treec25c1c51af1284bb52cb23a86dd12116dc14d8ec
parent664549427a8421147cdd272fe5ab2c39923fab28 (diff)
downloadbundler-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.rb2
-rw-r--r--spec/runtime/executable_spec.rb2
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)}"