Move ProjectHooks from spec/requests to spinach
This commit is contained in:
parent
9cabe04368
commit
db69836319
5 changed files with 65 additions and 43 deletions
21
features/project/hooks.feature
Normal file
21
features/project/hooks.feature
Normal file
|
@ -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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue