Working and specced supplier signup

This commit is contained in:
2013-10-30 15:29:47 +01:00
parent c8fb2ab069
commit 1af153e45f
11 changed files with 90 additions and 5 deletions
@@ -0,0 +1,2 @@
Feature: Manage settings
Scenario: Changing the supplier email
+11
View File
@@ -0,0 +1,11 @@
Feature: A supplier can sign up
Scenario: It works
When I visit the supplier signup path
And fill in the supplier signup form with new credentials
And click on the supplier signup submit button
Then a new unconfirmed supplier with the new signup credentials should be created
And a supplier signup confirmation mail should be sent containing a link to the token
When I visit the supplier signup confirmation path with the correct token
Then the new signup supplier should be confirmed
And I should be redirected to the supplier settings page