Skip to content

Commit

Permalink
Merge branch 'main' into jamiemagee/true-sigil
Browse files Browse the repository at this point in the history
  • Loading branch information
jakecoffman authored Nov 14, 2023
2 parents 71b8b44 + 3571625 commit 924a44c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bundler/spec/dependabot/bundler/update_checker_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
function: "dependency_source_type",
options: anything,
args: anything
}).and_call_original
}).and_return("private")

allow(Dependabot::Bundler::NativeHelpers)
.to receive(:run_bundler_subprocess)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,9 @@
context "because it ran out of disk space" do
before do
allow(Dependabot::SharedHelpers)
.to receive(:run_shell_command).and_call_original
.to receive(:run_shell_command)
allow(Dependabot::SharedHelpers)
.to receive(:run_shell_command).with("pyenv versions").and_return("3.11.5")
allow(Dependabot::SharedHelpers)
.to receive(:run_shell_command).with(a_string_matching(/pyenv exec pip-compile/), *any_args)
.and_raise(
Expand All @@ -414,7 +416,9 @@
context "because it ran out of memory" do
before do
allow(Dependabot::SharedHelpers)
.to receive(:run_shell_command).and_call_original
.to receive(:run_shell_command)
allow(Dependabot::SharedHelpers)
.to receive(:run_shell_command).with("pyenv versions").and_return("3.11.5")
allow(Dependabot::SharedHelpers)
.to receive(:run_shell_command).with(a_string_matching(/pyenv exec pip-compile/), *any_args)
.and_raise(
Expand Down

0 comments on commit 924a44c

Please sign in to comment.