donphan/spec/fabricators/user_fabricator.rb

7 lines
125 B
Ruby

Fabricator(:user) do
account
email "alice@example.com"
password "123456789"
confirmed_at { Time.now }
end