Skip to content

Commit

Permalink
Bundler tests pass Hash for args instead of Array
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieMagee committed Nov 1, 2023
1 parent 3e739c4 commit f7ebb79
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions bundler/spec/dependabot/bundler/native_helpers_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
with_env("DEPENDABOT_NATIVE_HELPERS_PATH", native_helpers_path) do
subject.run_bundler_subprocess(
function: "noop",
args: [],
args: {},
bundler_version: "2",
options: options
)
Expand All @@ -34,7 +34,7 @@
.with(
command: "timeout -s HUP 120 ruby /opt/bundler/v2/run.rb",
function: "noop",
args: [],
args: {},
env: anything
)
end
Expand All @@ -54,7 +54,7 @@
.with(
command: "timeout -s HUP 1800 ruby /opt/bundler/v2/run.rb",
function: "noop",
args: [],
args: {},
env: anything
)
end
Expand All @@ -74,7 +74,7 @@
.with(
command: "timeout -s HUP 60 ruby /opt/bundler/v2/run.rb",
function: "noop",
args: [],
args: {},
env: anything
)
end
Expand All @@ -89,7 +89,7 @@
.with(
command: "ruby /opt/bundler/v2/run.rb",
function: "noop",
args: [],
args: {},
env: anything
)
end
Expand All @@ -104,7 +104,7 @@
.with(
command: "ruby #{File.expand_path('../../../helpers/v2/run.rb', __dir__)}",
function: "noop",
args: [],
args: {},
env: anything
)
end
Expand Down

0 comments on commit f7ebb79

Please sign in to comment.