Sha256: 60fa57f3888d85723650f9958b4d0f3d3101d20a3efb928aa892c073a88f4acc
Contents?: true
Size: 229 Bytes
Versions: 2
Compression:
Stored size: 229 Bytes
Contents
Factory.define(:"to_factory/user") do |o| o.name "User" end Factory.define(:admin, :parent => :"to_factory/user") do |o| o.name "Admin" end Factory.define(:super_admin, :parent => :admin) do |o| o.name "Super Admin" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
to_factory-0.2.1 | spec/example_factories/old_syntax/user_admin_super_admin.rb |
to_factory-0.2.0 | spec/example_factories/old_syntax/user_admin_super_admin.rb |