spec/integration_helper.rb in braid-1.0.3 vs spec/integration_helper.rb in braid-1.0.4
- old
+ new
@@ -34,12 +34,12 @@
def create_git_repo_from_fixture(fixture_name)
git_repo = File.join(TMP_PATH, fixture_name)
update_dir_from_fixture(fixture_name)
in_dir(git_repo) do
- run_command("git config --global --get user.email || git config --global user.email \"you@example.com\"")
- run_command("git config --global --get user.name || git config --global user.name \"Your Name\"")
run_command('git init')
+ run_command("git config user.email \"you@example.com\"")
+ run_command("git config user.name \"Your Name\"")
run_command('git add *')
run_command("git commit -m \"initial commit of #{fixture_name}\"")
end
git_repo