Sha256: e8f19801e82195d653d8d9dfffaea5b01185a61a2ad6349c15ac4c2fd76065e8

Contents?: true

Size: 247 Bytes

Versions: 24

Compression:

Stored size: 247 Bytes

Contents

FactoryGirl.define do
  factory :user do
    display_name { Faker::Name.name }
    sequence :email do |n|
      "#{display_name.tr(' ', '.').downcase}#{n}@example.com"
    end
    password 'password'
    password_confirmation 'password'
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
message_train-0.7.6 spec/factories/user.rb
message_train-0.7.5 spec/factories/user.rb
message_train-0.7.3 spec/factories/user.rb
message_train-0.7.2 spec/factories/user.rb
message_train-0.7.1 spec/factories/user.rb
message_train-0.6.17 spec/factories/user.rb
message_train-0.6.16 spec/factories/user.rb
message_train-0.6.15 spec/factories/user.rb
message_train-0.6.14 spec/factories/user.rb
message_train-0.6.13 spec/factories/user.rb
message_train-0.6.12 spec/factories/user.rb
message_train-0.6.11 spec/factories/user.rb
message_train-0.6.10 spec/factories/user.rb
message_train-0.6.9 spec/factories/user.rb
message_train-0.6.8 spec/factories/user.rb
message_train-0.6.7 spec/factories/user.rb
message_train-0.6.6 spec/factories/user.rb
message_train-0.6.5 spec/factories/user.rb
message_train-0.6.4 spec/factories/user.rb
message_train-0.6.3 spec/factories/user.rb