~cytrogen/masto-fe

ref: e754083e8a33778b5dd8d43efc5604ed50efb0e4 masto-fe/spec/fabricators/user_fabricator.rb -rw-r--r-- 303 bytes
e754083e — Eugen Rochko Fix unmatched quotes and prefixes causing search to fail (#26701) 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

Fabricator(:user) do
  account      { Fabricate.build(:account, user: nil) }
  email        { sequence(:email) { |i| "#{i}#{Faker::Internet.email}" } }
  password     '123456789'
  confirmed_at { Time.zone.now }
  current_sign_in_at { Time.zone.now }
  agreement true
end