summaryrefslogtreecommitdiff
path: root/features/project/hooks.feature
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2014-07-29 11:49:46 +0200
committerRobert Schilling <rschilling@student.tugraz.at>2014-07-29 11:49:46 +0200
commit7cefdb49eb460e87e3c3b827af32ae1b6834c4da (patch)
treeb1ce1dcdb146e094d5929b0c385495239cd8e663 /features/project/hooks.feature
parentd30454e112378c24cc9edfd7b511ca42bdb1e399 (diff)
downloadgitlab-ce-7cefdb49eb460e87e3c3b827af32ae1b6834c4da.tar.gz
Prevent 500 if hook url is down, fixes #7376
Diffstat (limited to 'features/project/hooks.feature')
-rw-r--r--features/project/hooks.feature6
1 files changed, 6 insertions, 0 deletions
diff --git a/features/project/hooks.feature b/features/project/hooks.feature
index 52e02a890dd..1a60846a23e 100644
--- a/features/project/hooks.feature
+++ b/features/project/hooks.feature
@@ -24,3 +24,9 @@ Feature: Project Hooks
And I visit project hooks page
When I click test hook button
Then I should see hook error message
+
+ Scenario: I test a hook on down URL
+ Given project has hook
+ And I visit project hooks page
+ When I click test hook button with invalid URL
+ Then I should see hook service down error message