Sha256: da1ee749343f87d059f65f603c2951b7b72b92d91121f26d899056a75f599e8d

Contents?: true

Size: 190 Bytes

Versions: 20

Compression:

Stored size: 190 Bytes

Contents

# frozen_string_literal: true

FactoryBot.define do
  factory :user, class: '::User' do
    sequence(:name)  { |n| "Name-#{n}" }
    sequence(:email) { |n| "user-#{n}@email.com" }
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
azeroth-1.0.0 spec/support/factories/user.rb
azeroth-0.10.1 spec/support/factories/user.rb
azeroth-0.10.0 spec/support/factories/user.rb
azeroth-0.9.0 spec/support/factories/user.rb
azeroth-0.8.2 spec/support/factories/user.rb
azeroth-0.8.1 spec/support/factories/user.rb
azeroth-0.8.0 spec/support/factories/user.rb
azeroth-0.7.4 spec/support/factories/user.rb
azeroth-0.7.3 spec/support/factories/user.rb
azeroth-0.7.2 spec/support/factories/user.rb
azeroth-0.7.1 spec/support/factories/user.rb
azeroth-0.7.0 spec/support/factories/user.rb
azeroth-0.6.5 spec/support/factories/user.rb
azeroth-0.6.4 spec/support/factories/user.rb
azeroth-0.6.3 spec/support/factories/user.rb
azeroth-0.6.2 spec/support/factories/user.rb
azeroth-0.6.1 spec/support/factories/user.rb
azeroth-0.6.0 spec/support/factories/user.rb
azeroth-0.5.0 spec/support/factories/user.rb
azeroth-0.4.0 spec/support/factories/user.rb