diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-11-04 18:03:16 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-11-04 18:03:16 +0300 |
commit | 3f05c22f5612c26ff3707aa16eb0f3c8be18ec93 (patch) | |
tree | f097723ce5f9eb9b92e32fbb78ae5c578aecea85 /spec/models | |
parent | 82aa54193f67b31400f06de372adfc25acc61c0c (diff) | |
parent | d09d62b6b875102b7a334fcf9e689537e1f25013 (diff) |
Merge branch 'rs-git-bin-path' into 'master'
Replace all usages of `git` command with configurable binary path
Closes #3311
See merge request !1742
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/project_wiki_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/project_wiki_spec.rb b/spec/models/project_wiki_spec.rb index 94802dcfb79..9f6cdeeaa96 100644 --- a/spec/models/project_wiki_spec.rb +++ b/spec/models/project_wiki_spec.rb @@ -223,7 +223,7 @@ describe ProjectWiki do def create_temp_repo(path) FileUtils.mkdir_p path - system(*%W(git init --quiet --bare -- #{path})) + system(*%W(#{Gitlab.config.git.bin_path} init --quiet --bare -- #{path})) end def remove_temp_repo(path) |