Sha256: 8701a56ad848020dab835b0c73b25f68ca864313f72e81c99c13da74d2621dac

Contents?: true

Size: 337 Bytes

Versions: 2

Compression:

Stored size: 337 Bytes

Contents

# Read about factories at https://github.com/thoughtbot/factory_girl

FactoryGirl.define do
  factory :mechanize_store_product, :class => MechanizeStore::Product do
    name "MyString"
    description "MyText"
    short_description "MyString"
    price 1.5
    weight 1.5
    lenght 1.5
    height 1.5
    product_category nil
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mechanize_store-0.0.4 spec/factories/mechanize_store_products.rb
mechanize_store-0.0.3 spec/factories/mechanize_store_products.rb