spec/spec_helper.rb in seko-0.0.4 vs spec/spec_helper.rb in seko-0.0.5
- old
+ new
@@ -96,11 +96,12 @@
def line_items_array
[
{
sku: 100083,
- quantity: 2
+ quantity: 2,
+ price: 30.00
}
]
end
def company_hash
@@ -115,10 +116,11 @@
number: 123456,
email: 'stephen.jones@gmail.com',
shipping_address: address_hash,
line_items: line_items_array,
warehouse: 'DC123',
- date: '2013-12-12'
+ date: '2013-12-12',
+ currency: 'gbp'
}
end
def company_order_hash
order_hash.merge(company: company_hash)
\ No newline at end of file