diff options
author | randx <dmitriy.zaporozhets@gmail.com> | 2012-09-27 23:52:08 +0300 |
---|---|---|
committer | randx <dmitriy.zaporozhets@gmail.com> | 2012-09-27 23:52:08 +0300 |
commit | db69836319ebf716b31f52e818605df0816790e0 (patch) | |
tree | 3edda28472b9c20e5fdd1c7f4a25d42d171c1814 /features/project | |
parent | 9cabe04368024f44881e4269a008156f1629ab86 (diff) | |
download | gitlab-ce-db69836319ebf716b31f52e818605df0816790e0.tar.gz |
Move ProjectHooks from spec/requests to spinach
Diffstat (limited to 'features/project')
-rw-r--r-- | features/project/hooks.feature | 21 |
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 + |