summaryrefslogtreecommitdiff
path: root/features/project/hooks.feature
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2014-07-27 22:26:23 +0200
committerRobert Schilling <rschilling@student.tugraz.at>2014-07-27 23:48:53 +0200
commit062ff17b1cd65485d88b676584ae793cce8b3345 (patch)
tree46a8712190b95113d4b277053b0950a03270ffc0 /features/project/hooks.feature
parentcb0d63b9e3fa464ae8c0cd9cf7bdb8d080a7e02f (diff)
downloadgitlab-ce-062ff17b1cd65485d88b676584ae793cce8b3345.tar.gz
Do not execute hooks on empty projects, fixes #6108
Diffstat (limited to 'features/project/hooks.feature')
-rw-r--r--features/project/hooks.feature5
1 files changed, 5 insertions, 0 deletions
diff --git a/features/project/hooks.feature b/features/project/hooks.feature
index b158e07ad33..52e02a890dd 100644
--- a/features/project/hooks.feature
+++ b/features/project/hooks.feature
@@ -19,3 +19,8 @@ Feature: Project Hooks
When I click test hook button
Then hook should be triggered
+ Scenario: I test a hook on empty project
+ Given I own empty project with hook
+ And I visit project hooks page
+ When I click test hook button
+ Then I should see hook error message