Sha256: c0edeaea482372315bf7ac8f30b894e78d84970178aadaf814fa4ff3e53e53f8

Contents?: true

Size: 199 Bytes

Versions: 2

Compression:

Stored size: 199 Bytes

Contents

Factory.define :user do |f|
  f.name "John Doe"
  f.email { Factory.next(:email) }
end

Factory.sequence :email do |i|
  "john#{i}@doe.com"
end

Factory.define :skill do |f|
  f.association :user
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
factory_girl-preload-0.1.1 spec/support/factories.rb
factory_girl-preload-0.1.0 spec/support/factories.rb