Sha256: 6126035a5a675e644722722cddb5fc57a1439e5034d4ced07c3d85f7141497fe

Contents?: true

Size: 123 Bytes

Versions: 2

Compression:

Stored size: 123 Bytes

Contents

FactoryGirl.define do 
  factory :thing do |n|
    n.sequence(:name) { |n| "Thing#{n}" }
    price 52.2
    qty 4
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simple_cart-0.0.5 spec/factories/simple_cart/things.rb
simple_cart-0.0.4 spec/factories/simple_cart/things.rb