summaryrefslogtreecommitdiff
path: root/spec/gitlab_projects_spec.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-09-02 09:17:43 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-09-02 09:17:43 +0000
commit76f7f349669524809db2daa34d07d4af9b9e9544 (patch)
treee5e020d921f454b1f61b903e76e31d37a5ffaeb4 /spec/gitlab_projects_spec.rb
parent99fa0c6e878ed7e5e6292a87524bd43edfafbc9f (diff)
parenta71c80721de28e59147dc6b8c8326c98570a1cb8 (diff)
downloadgitlab-shell-76f7f349669524809db2daa34d07d4af9b9e9544.tar.gz
Merge branch 'hooks-refactoring' into 'master'
Hooks refactoring * replace update hook with pre-receive & post-receive hooks * use pre-receive hook for authorisation * use post-receive hook to create background job for GitLab worker Related to https://dev.gitlab.org/gitlab/gitlabhq/issues/1516 See merge request !38
Diffstat (limited to 'spec/gitlab_projects_spec.rb')
-rw-r--r--spec/gitlab_projects_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/gitlab_projects_spec.rb b/spec/gitlab_projects_spec.rb
index 3101b0b..0060fa9 100644
--- a/spec/gitlab_projects_spec.rb
+++ b/spec/gitlab_projects_spec.rb
@@ -295,7 +295,8 @@ describe GitlabProjects do
FileUtils.mkdir_p(File.join(tmp_repos_path, 'forked-to-namespace'))
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/pre-receive')).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