Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-08-04 18:44:27 +0300
committerLin Jen-Shin <godfat@godfat.org>2016-08-04 18:44:27 +0300
commit984367f957c8f8d02fa82b08817e2f2f318c6bff (patch)
tree6f18804966e10c58473094c94cb8c2a0626d8065 /app/services/test_hook_service.rb
parent80671bf75cdac3f50615253b058fa04da6235a4f (diff)
Move those builders to their own namespace, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5620#note_13540099
Diffstat (limited to 'app/services/test_hook_service.rb')
-rw-r--r--app/services/test_hook_service.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/services/test_hook_service.rb b/app/services/test_hook_service.rb
index e85e58751e7..60b85882092 100644
--- a/app/services/test_hook_service.rb
+++ b/app/services/test_hook_service.rb
@@ -1,6 +1,7 @@
class TestHookService
def execute(hook, current_user)
- data = Gitlab::PushDataBuilder.build_sample(hook.project, current_user)
+ data = Gitlab::DataBuilder::PushDataBuilder.
+ build_sample(hook.project, current_user)
hook.execute(data, 'push_hooks')
end
end