Sha256: 6f31f3a94b2573e1d777399f7fe77fd284a2bf32b3c51326a06d93812c9ef085

Contents?: true

Size: 318 Bytes

Versions: 3

Compression:

Stored size: 318 Bytes

Contents

factory(:"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
  birthday "2014-07-08T15:30Z"
  email "admin@example.com"
  name "Admin"
  some_attributes({:a => 1})
  some_id 9
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
to_factory-0.2.1 spec/example_factories/new_syntax/user_admin.rb
to_factory-0.2.0 spec/example_factories/new_syntax/user_admin.rb
to_factory-0.1.1 spec/example_factories/new_syntax/user_admin.rb