summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/bundler/commands/binstubs_spec.rb2
-rw-r--r--spec/bundler/runtime/executable_spec.rb2
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)}"