summaryrefslogtreecommitdiff
path: root/app/contexts
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-01-15 14:38:50 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-01-15 14:38:50 +0200
commit8bfc62fb8b02bde7da97958deb8aeda63581bfce (patch)
tree1ccb80a7780a4d7b888070c690276bf6271d8989 /app/contexts
parent37ef33cba18f947699fc3f285397be34861ab51e (diff)
downloadgitlab-ce-8bfc62fb8b02bde7da97958deb8aeda63581bfce.tar.gz
Convert TestHookContext into TestHookService. Added tests
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/contexts')
-rw-r--r--app/contexts/test_hook_context.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/app/contexts/test_hook_context.rb b/app/contexts/test_hook_context.rb
deleted file mode 100644
index 63eda6c7d06..00000000000
--- a/app/contexts/test_hook_context.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-class TestHookContext < BaseContext
- def execute
- hook = project.hooks.find(params[:id])
- data = GitPushService.new.sample_data(project, current_user)
- hook.execute(data)
- end
-end