> Scenario: Create User
> Given that I have no users
> And I am on the "List of users"
> When I follow "New User"
> And I fill in "First Name" with "Rebecca"
> And I fill in "Second Name" with "Martin"
> And I fill in "Title" with "Miss"
> And I fill in "Email" with "rebecc...@me.com"
> And I fill in "Telephone" with "01617867645"
> And I fill in "Mobile" with "01777867645"
> And I fill in "Fax" with "01617867640Î"
> And I fill in "Address Line 1" with "58"
> And I fill in "Address Line 2" with "West Tree rd"
> And I fill in "Address Line 3" with "Stockport"
> And I fill in "County" with "Cheshire"
> And I fill in "Country" with "United Kingdom"
> And I fill in "Zip Code" with "sk8 4ty"
> And I press "Create"
> Then I should have 1 user
Is it possible that your User model is failing validation when you try
to create it?
Your log file may help show the underlying problem.
Consider putting a call to debugger in your UsersController's create
method so you can examine the state and see why the record is not
getting called.
Mike
Also consider using create! save! etc everywhere you can so things
don't fail in silent and creepy ways.