Sha256: 29a4b023bf5cfdd8219cf49f24cea819f1ab89c4f2a9105f327d46fb22f10c89
Contents?: true
Size: 344 Bytes
Versions: 11
Compression:
Stored size: 344 Bytes
Contents
require 'spec_helper' describe Seko::Stock do describe '.parse' do it 'returns the relevant stock info' do expected_result = fixture(:stock)["Response"]["List"]["StockQuantityLineItem"] response = Seko::Response.new(read_json(:stock)) expect(Seko::Stock.parse(response)).to eq(expected_result) end end end
Version data entries
11 entries across 11 versions & 1 rubygems