Sha256: 7c22a7055e5a6c015325b48f87287591d73f0e8e268694af74d8ffd2a95c67b4

Contents?: true

Size: 162 Bytes

Versions: 26

Compression:

Stored size: 162 Bytes

Contents

FactoryGirl.define do
  sequence(:username) { |i| "mrcool#{i}" }
  sequence(:email) { |i| "so#{i}@cool.com" }
  factory :user do
    username
    email
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
sapience-1.0.11 test_apps/rails/spec/factories/users.rb
sapience-1.0.10 test_apps/rails/spec/factories/users.rb
sapience-1.0.9 test_apps/rails/spec/factories/users.rb
sapience-1.0.8 test_apps/rails/spec/factories/users.rb
sapience-1.0.7 test_apps/rails/spec/factories/users.rb
sapience-1.0.6 test_apps/rails/spec/factories/users.rb
sapience-1.0.5 test_apps/rails/spec/factories/users.rb
sapience-1.0.4 test_apps/rails/spec/factories/users.rb
sapience-1.0.3 test_apps/rails/spec/factories/users.rb
sapience-1.0.2 test_apps/rails/spec/factories/users.rb
sapience-1.0.1 test_apps/rails/spec/factories/users.rb
sapience-1.0.0 test_apps/rails/spec/factories/users.rb
sapience-0.2.18 test_apps/rails/spec/factories/users.rb
sapience-0.2.17 test_apps/rails/spec/factories/users.rb
sapience-0.2.16 test_apps/rails/spec/factories/users.rb
sapience-0.2.15 test_apps/rails/spec/factories/users.rb
sapience-0.2.14 test_apps/rails/spec/factories/users.rb
sapience-0.2.13 test_apps/rails/spec/factories/users.rb
sapience-0.2.12 test_apps/rails/spec/factories/users.rb
sapience-0.2.11 test_apps/rails/spec/factories/users.rb