diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2013-08-06 16:35:53 +0200 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2013-08-26 10:16:24 +0200 |
commit | 4f9deebaf3f4f47076f2db059406320d5799cb52 (patch) | |
tree | d764ff0c3a0e9fc3b061126b9cf55922a7ae7fbb /spec | |
parent | 4fc02372fe62f4f1b4c6618707de56c11ecc8451 (diff) | |
download | gitlab-shell-add_local_update_hook.tar.gz |
Allow update.local hook after update.gitlabadd_local_update_hook
Diffstat (limited to 'spec')
-rw-r--r-- | spec/gitlab_projects_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/gitlab_projects_spec.rb b/spec/gitlab_projects_spec.rb index 2b36b34..c0faf15 100644 --- a/spec/gitlab_projects_spec.rb +++ b/spec/gitlab_projects_spec.rb @@ -102,6 +102,7 @@ describe GitlabProjects do it "should receive valid cmd" do valid_cmd = "cd #{tmp_repo_path} && git init --bare" valid_cmd << " && ln -s #{ROOT_PATH}/hooks/update #{tmp_repo_path}/hooks/" + valid_cmd << " && ln -s #{ROOT_PATH}/hooks/update.gitlab #{tmp_repo_path}/hooks/" gl_projects.should_receive(:system).with(valid_cmd) gl_projects.exec end |