Sha256: 28a7330765334b5ae5deeadcc9072af6e7f6433fe3a347e1e4d8640eb4ea36a9
Contents?: true
Size: 417 Bytes
Versions: 2
Compression:
Stored size: 417 Bytes
Contents
FactoryGirl.define do factory(:"to_factory/user") do name("User") end factory(:root, :parent => :"to_factory/user") do birthday "2014-07-08T15:30Z" email "test@example.com" name "Jeff" some_attributes({:a => 1}) some_id 8 end factory(:admin, :parent => :"to_factory/user") do name("Admin") end factory(:super_admin, :parent => :admin) do name("Super Admin") end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
to_factory-0.2.1 | spec/example_factories/new_syntax/user_admin_root.rb |
to_factory-0.2.0 | spec/example_factories/new_syntax/user_admin_root.rb |