Created
November 13, 2009 21:00
-
-
Save mhfs/234152 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| As a Provider | |
| I want to be able sign up | |
| So that I can can receive Rails project referrals | |
| Scenario: Signing up with an invalid password confirmation | |
| Given I am on the homepage | |
| And I follow "provider.signup" translation | |
| And I fill in the provider sign up form for "Pivotpaul Labs" | |
| And I fill in the "First name" with "JD" | |
| And I fill in the "Last name" with "Crow" | |
| And I fill in the "Email" with "[email protected]" | |
| And I fill in the "Password" with "dingusday" | |
| And I fill in the "Retype password" with "greasycoat" | |
| And I fill in the "provider[marketing_description]" with "The human mind can only stand so much." | |
| And I fill in the "Company email" with "[email protected]" | |
| And I fill in the "Company website" with "ole opry" | |
| And I check "provider[terms_of_service]" | |
| When I press "Sign up" | |
| Then I should see "Users password doesn't match confirmation" | |
| And I should see "provider.validations.valid_url" translation | |
| When I fill in the "password" with "americanpolka" | |
| And I fill in the "Retype password" with "americanpolka" | |
| And I fill in the "Company website" with "oleopry.com" | |
| And I press "Sign up" | |
| Then I should see "Pivotpaul Labs Admin" | |
| When I follow "navigation.company" translation | |
| Then I should see "The human mind can only stand so much." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment