summaryrefslogtreecommitdiff
path: root/spec/bundler/update
diff options
context:
space:
mode:
authorDavid Rodriguez <[email protected]>2021-10-18 20:56:28 +0200
committergit <[email protected]>2024-06-06 18:44:43 +0000
commit9579c3d988fb31142700cbaa9f4c726abc0aa9e0 (patch)
tree38040cb98188fa4faeafd80e65f74ddd0851c48a /spec/bundler/update
parentb5a7f639615040bffde581a26ddabf80890a3493 (diff)
[rubygems/rubygems] Reuse `git` helper when possible
https://github.com/rubygems/rubygems/commit/f7c7bae940
Diffstat (limited to 'spec/bundler/update')
-rw-r--r--spec/bundler/update/git_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/bundler/update/git_spec.rb b/spec/bundler/update/git_spec.rb
index 3b7bbfd979..f80281e8ce 100644
--- a/spec/bundler/update/git_spec.rb
+++ b/spec/bundler/update/git_spec.rb
@@ -142,8 +142,8 @@ RSpec.describe "bundle update" do
s.add_dependency "submodule"
end
- sys_exec "git submodule add #{lib_path("submodule-1.0")} submodule-1.0", dir: lib_path("has_submodule-1.0")
- sys_exec "git commit -m \"submodulator\"", dir: lib_path("has_submodule-1.0")
+ git "submodule add #{lib_path("submodule-1.0")} submodule-1.0", lib_path("has_submodule-1.0")
+ git "commit -m \"submodulator\"", lib_path("has_submodule-1.0")
end
it "it unlocks the source when submodules are added to a git source" do