diff options
author | Sean Edge <asedge@gmail.com> | 2014-07-11 23:15:11 -0400 |
---|---|---|
committer | Sean Edge <asedge@gmail.com> | 2014-07-11 23:15:11 -0400 |
commit | c0c082fa1d761bdb4c28d464899915f64f394fcf (patch) | |
tree | f4a427928dd22d1f6004cb768cccdba3f13269f8 | |
parent | 5bf1363ea66517561386a6a9b56226ed1fd97a5a (diff) | |
download | gitlab-shell-c0c082fa1d761bdb4c28d464899915f64f394fcf.tar.gz |
Hopefully fixing broken CI build by setting user.name and user.email on the temporary repo.
-rw-r--r-- | spec/gitlab_projects_spec.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/gitlab_projects_spec.rb b/spec/gitlab_projects_spec.rb index 44fb879..5e53ebe 100644 --- a/spec/gitlab_projects_spec.rb +++ b/spec/gitlab_projects_spec.rb @@ -80,6 +80,9 @@ describe GitlabProjects do gl_projects_create.exec gl_projects.exec + system(*%W(git --git-dir=#{tmp_repo_path} config user.name Joe)) + system(*%W(git --git-dir=#{tmp_repo_path} config user.email joe@smith.com)) + tag_ref = capture_in_tmp_repo(%W(git rev-parse #{tag_name}^{})) master_ref = capture_in_tmp_repo(%W(git rev-parse master)) tag_msg = capture_in_tmp_repo(%W(git tag -l -n1 #{tag_name})) |