Created
January 28, 2010 17:46
-
-
Save phillipkoebbe/288962 to your computer and use it in GitHub Desktop.
This file contains 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
Feature: Registration | |
Background: | |
Given I am not logged in | |
And I am on the register page | |
Scenario Outline: A new registration - variations of valid emails | |
When I fill in user_first_name with 'New' | |
And I fill in user_last_name with 'User' | |
And I fill in user_address_1 with '123 Some Road' | |
And I fill in user_city with 'Some City' | |
And I fill in user_state with 'IL' | |
And I fill in user_zip_code with '12345' | |
And I fill in user_email with '<email>' | |
And I fill in user_password with 'my_password' | |
And I fill in user_password_confirmation with 'my_password' | |
And I click the register button | |
Then I should get the REGISTRATION_SUCCESSFUL message | |
And a message should be sent | |
Examples: | |
| email | | |
| [email protected] | | |
| [email protected] | | |
| [email protected] | | |
| [email protected] | | |
| [email protected] | | |
| [email protected] | | |
| user%[email protected] | | |
| [email protected] | | |
| [email protected] | | |
| [email protected] | | |
| [email protected] | | |
| user%[email protected] | | |
| [email protected] | | |
| [email protected] | |
This file contains 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
Processing RegistrationsController#create (for 127.0.0.1 at 2010-01-28 11:36:00) [POST] | |
Parameters: {"commit"=>"Register", "user"=>{"city"=>"Some City", "zip_code"=>"12345", "password_confirmation"=>"my_password", "sms"=>"", "address_1"=>"123 Some Road", "address_2"=>"", "last_name"=>"User", "password"=>"my_password", "email"=>"user%[email protected]", "state"=>"IL", "first_name"=>"New"}} | |
User Load (0.3ms) SELECT "users".id FROM "users" WHERE ("users"."email" = E'user%[email protected]') LIMIT 1 | |
User Load (0.2ms) SELECT "users".id FROM "users" WHERE ("users"."sms" = E'') LIMIT 1 | |
SQL (0.6ms) INSERT INTO "users" ("city", "email_notify", "created_at", "zip_code", "sms", "updated_at", "address_1", "sms_notify", "is_administrator", "last_name", "address_2", "is_active", "password", "first_name", "email", "state") VALUES(E'Some City', 't', '2010-01-28 17:36:00.338674', E'12345', E'', '2010-01-28 17:36:00.338674', E'123 Some Road', 'f', 'f', E'User', E'', 't', E'my_password', E'New', E'user%[email protected]', E'IL') RETURNING "id" | |
Date: Thu, 28 Jan 2010 11:36:00 -0600 | |
From: [email protected] | |
To: New User <user%[email protected]> | |
Subject: ISCHPC Registration | |
Welcome to the website of the Illinois Supreme Court History Preservation Commission. | |
Redirected to http://localhost:3001/ | |
Completed in 12ms (DB: 2) | 302 Found [http://localhost/register] | |
Processing RegistrationsController#create (for 127.0.0.1 at 2010-01-28 11:36:00) [POST] | |
Parameters: {"commit"=>"Register", "user"=>{"city"=>"Some City", "zip_code"=>"12345", "password_confirmation"=>"my_password", "sms"=>"", "address_1"=>"123 Some Road", "address_2"=>"", "last_name"=>"User", "password"=>"my_password", "email"=>"user%[email protected]", "state"=>"IL", "first_name"=>"New"}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment