Sha256: 64fefecf09912719c44ddaf194ae2184f2580dd3b1f7083771ac1f0a71288d36

Contents?: true

Size: 204 Bytes

Versions: 1

Compression:

Stored size: 204 Bytes

Contents

Factory.define :role do |f|
  f.name  "user"
end

Factory.define :user do |f|
  f.email {"#{rand(10**10)}@email.com"}
  f.password "blahblah"
  f.password_confirmation "blahblah"
  f.association :role
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
netzke-persistence-0.1.0 spec/factories.rb