Sha256: 80f27f5fe884e4e8061750c8c5f17f427ecddb23bb38c608e4366c9dd67993dc

Contents?: true

Size: 182 Bytes

Versions: 6

Compression:

Stored size: 182 Bytes

Contents

FactoryGirl.define do
  factory :order, class: BaseCRM::Order do

    deal_id { 5 }
    discount { 4 }


    to_create do |order|
      client.orders.create(order)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
basecrm-1.3.5 spec/factories/order.rb
basecrm-1.3.4 spec/factories/order.rb
basecrm-1.3.3 spec/factories/order.rb
basecrm-1.3.2 spec/factories/order.rb
basecrm-1.3.1 spec/factories/order.rb
basecrm-1.3.0 spec/factories/order.rb