Sha256: 66ce4bdd6167d383f3a27b23fa114efa55dc9d7cc36e0dbf27a19506b318e172

Contents?: true

Size: 113 Bytes

Versions: 12

Compression:

Stored size: 113 Bytes

Contents

Factory.define :engine, :class => Vehicle::Engine do |f|
  f.cylinders 6
  f.car { |u| u.association(:car) }
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
admin_data-1.0.11 test/factories/engine.rb
admin_data-1.0.10 test/factories/engine.rb
admin_data-1.0.9 test/factories/engine.rb
admin_data-1.0.8 test/factories/engine.rb
admin_data-1.0.7 test/factories/engine.rb
admin_data-1.0.6 test/factories/engine.rb
admin_data-1.0.5 test/factories/engine.rb
admin_data-1.0.4 test/factories/engine.rb
admin_data-1.0.3 test/factories/engine.rb
admin_data-1.0.2 test/factories/engine.rb
admin_data-1.0.1 test/factories/engine.rb
admin_data-1.0.0 test/factories/engine.rb