gab-social/spec/fabricators/user_fabricator.rb

8 lines
190 B
Ruby
Raw Normal View History

2019-07-02 08:10:25 +01:00
Fabricator(:user) do
account
email { sequence(:email) { |i| "#{i}#{Faker::Internet.email}" } }
password "123456789"
confirmed_at { Time.zone.now }
agreement true
end