scinote-web/spec/factories/users.rb
2019-06-13 12:10:44 +02:00

13 lines
291 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :user do
full_name { 'admin' }
initials { 'AD' }
sequence(:email) { |n| "user-#{n}@example.com" }
password { 'asdf1243' }
password_confirmation { 'asdf1243' }
current_sign_in_at { DateTime.now }
end
end