summaryrefslogtreecommitdiff
path: root/features/project
diff options
context:
space:
mode:
authorrandx <dmitriy.zaporozhets@gmail.com>2012-09-27 23:52:08 +0300
committerrandx <dmitriy.zaporozhets@gmail.com>2012-09-27 23:52:08 +0300
commitdb69836319ebf716b31f52e818605df0816790e0 (patch)
tree3edda28472b9c20e5fdd1c7f4a25d42d171c1814 /features/project
parent9cabe04368024f44881e4269a008156f1629ab86 (diff)
downloadgitlab-ce-db69836319ebf716b31f52e818605df0816790e0.tar.gz
Move ProjectHooks from spec/requests to spinach
Diffstat (limited to 'features/project')
-rw-r--r--features/project/hooks.feature21
1 files changed, 21 insertions, 0 deletions
diff --git a/features/project/hooks.feature b/features/project/hooks.feature
new file mode 100644
index 00000000000..b158e07ad33
--- /dev/null
+++ b/features/project/hooks.feature
@@ -0,0 +1,21 @@
+Feature: Project Hooks
+ Background:
+ Given I sign in as a user
+ And I own project "Shop"
+
+ Scenario: I should see hook list
+ Given project has hook
+ When I visit project hooks page
+ Then I should see project hook
+
+ Scenario: I add new hook
+ Given I visit project hooks page
+ When I submit new hook
+ Then I should see newly created hook
+
+ Scenario: I test hook
+ Given project has hook
+ And I visit project hooks page
+ When I click test hook button
+ Then hook should be triggered
+