diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2013-07-19 14:11:49 +0200 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2013-07-19 15:28:10 +0200 |
commit | 2537a0b24cac9206f282a071ba5e930aabfc3135 (patch) | |
tree | b49730431721b6f2238b59573bed5113f8181fa1 /spec/gitlab_projects_spec.rb | |
parent | 57f73737903e37af4651e017be4e769dea6cb4d3 (diff) | |
download | gitlab-shell-2537a0b24cac9206f282a071ba5e930aabfc3135.tar.gz |
Remove empty post-receive hook
Diffstat (limited to 'spec/gitlab_projects_spec.rb')
-rw-r--r-- | spec/gitlab_projects_spec.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/gitlab_projects_spec.rb b/spec/gitlab_projects_spec.rb index 1c02430..6ff72ec 100644 --- a/spec/gitlab_projects_spec.rb +++ b/spec/gitlab_projects_spec.rb @@ -101,7 +101,6 @@ 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/post-receive #{tmp_repo_path}/hooks/post-receive" valid_cmd << " && ln -s #{ROOT_PATH}/hooks/update #{tmp_repo_path}/hooks/update" gl_projects.should_receive(:system).with(valid_cmd) gl_projects.exec @@ -238,7 +237,6 @@ describe GitlabProjects do gl_projects_fork.exec.should be_true File.exists?(dest_repo).should be_true File.exists?(File.join(dest_repo, '/hooks/update')).should be_true - File.exists?(File.join(dest_repo, '/hooks/post-receive')).should be_true end it "should not fork if a project of the same name already exists" do |