From fa31ea0c5a76bbd0532641ae0280577227f6f150 Mon Sep 17 00:00:00 2001 From: 3v0k4 Date: Thu, 5 Dec 2024 08:43:59 +0100 Subject: [PATCH] test: do not screw up git config --- test/test_e2e.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_e2e.rb b/test/test_e2e.rb index 51e68d3..c15d47c 100644 --- a/test/test_e2e.rb +++ b/test/test_e2e.rb @@ -24,8 +24,8 @@ def test_e2e__it_prints_unused_gems Dir.chdir(File.join(GEM_DIR, "myapp")) do Open3.capture3("bundle config set --local path vendor") unless skip Open3.capture3("bundle install") unless skip - Open3.capture3("git config --global user.email 'email@example.com'") - Open3.capture3("git config --global user.name 'name'") + Open3.capture3("git config --local user.email 'email@example.com'") + Open3.capture3("git config --local user.name 'name'") Open3.capture3("git commit --all -m 'init'") unless skip Open3.capture3("bundle add favicon_factory") unless skip Open3.capture3("git commit --all -m 'add favicon_factory'") unless skip