Feature testing user specs
This commit is contained in:
parent
c6f2b4f641
commit
98e3784eba
4 changed files with 164 additions and 3 deletions
|
|
@ -1,8 +1,7 @@
|
|||
# Read about factories at https://github.com/thoughtbot/factory_girl
|
||||
|
||||
FactoryGirl.define do
|
||||
factory :user do
|
||||
email 'example@example.com'
|
||||
sequence(:email) { |n| "example#{n}@example.com" }
|
||||
password 'changeme'
|
||||
password_confirmation 'changeme'
|
||||
confirmed_at Time.now
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue