[rspec-users] Validation Failed: Userkey has already been taken, Email has already been taken

2013-02-28 Thread ruby rails
Hi, I am using Factory girl with rspec and capybara for testing my rails appliction. I have the below code FactoryGirl.define do factory :user do |f| f.email s...@gmail.com f.userkey 12ssd345q62 end end When I run the test it is failing as Validation Failed: Userkey has already been

Re: [rspec-users] Validation Failed: Userkey has already been taken, Email has already been taken

2013-02-28 Thread David Chelimsky
On Thu, Feb 28, 2013 at 12:57 PM, ruby rails li...@ruby-forum.com wrote: Hi, I am using Factory girl with rspec and capybara for testing my rails appliction. I have the below code FactoryGirl.define do factory :user do |f| f.email s...@gmail.com f.userkey 12ssd345q62 end end