[rspec-users] Validation Failed: Userkey has already been taken, Email has already been taken
lists at ruby-forum.com
Thu Feb 28 17:57:25 UTC 2013
I am using Factory girl with rspec and capybara for testing my rails
appliction. I have the below code
factory :user do |f|
f.email "sss1 at gmail.com"
When I run the test it is failing as "Validation Failed: Userkey has
already been taken, Email has already been taken".
What could be the reason for this. I am new to Rspec.
Posted via http://www.ruby-forum.com/.
More information about the rspec-users