Sha256: 4235ae0ec82af8ee30624d7954891edfdede3cc0f95fdf47205666a9fd9488c1

Contents?: true

Size: 273 Bytes

Versions: 2

Compression:

Stored size: 273 Bytes

Contents

# frozen_string_literal: true

FactoryBot.define do
  factory :spina_user, class: Spina::User do
    sequence(:email) { |n| "user#{n}@someaddress.com" }
    name { 'Marcus Atherton' }
    password_digest { BCrypt::Password.create('password') }
    admin { true }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spina-admin-conferences-blog-0.3.1 spec/factories/spina/users.rb
spina-admin-conferences-blog-0.2.0 spec/factories/spina/users.rb