Sha256: eb51d5258c4d94658812fcea7275b0d99ddff9e4b740096e7d4d3421d10ff0fe

Contents?: true

Size: 410 Bytes

Versions: 12

Compression:

Stored size: 410 Bytes

Contents

# Define some basic factories for testing within our sample app
FactoryGirl.define do
  factory :user do
    first_name                'Test'
    last_name                 'User'
    sequence(:username)       { |n| "user#{n}" }
    sequence(:email)          { |n| "email#{n}@example.com" }
    password                  { 'abc123' }
    password_confirmation     { 'abc123' }
  end
end # end FactoryGirl.define

Version data entries

12 entries across 11 versions & 2 rubygems

Version Path
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.3/test/factories.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.0.pre/test/factories.rb
challah-0.8.3 test/factories.rb
challah-0.8.2 test/factories.rb
challah-0.8.1 test/factories.rb
challah-0.8.0 test/factories.rb
challah-rolls-0.1.0 vendor/bundle/gems/challah-0.8.0.pre/test/factories.rb
challah-0.8.0.pre test/factories.rb
challah-0.7.1 test/factories.rb
challah-0.7.0 test/factories.rb
challah-0.7.0.pre2 test/factories.rb
challah-0.7.0.pre test/factories.rb