masto-fe/spec/fabricators/user_fabricator.rb

8 lines
190 B
Ruby
Raw Normal View History

Fabricator(:user) do
account
email { sequence(:email) { |i| "#{i}#{Faker::Internet.email}" } }
2016-10-03 14:38:22 +00:00
password "123456789"
confirmed_at { Time.zone.now }
agreement true
end