spec/lib/order_spec.rb in seko-0.0.4 vs spec/lib/order_spec.rb in seko-0.0.5
- old
+ new
@@ -41,10 +41,10 @@
describe '.line_items' do
it 'returns JSON format ready line items array' do
expected_result = fixture(:order_websubmit)["Request"]["List"]["SalesOrderLineItem"]
- expect(Seko::Order.line_items(line_items_array)).to eq(expected_result)
+ expect(Seko::Order.line_items(order_hash)).to eq(expected_result)
end
end
describe '.company' do