Sha256: 3703dd4aae6888289711ec10bc49917ab963141edc2f21871d0ce229e0238d97
Contents?: true
Size: 511 Bytes
Versions: 6
Compression:
Stored size: 511 Bytes
Contents
require 'spec_helper' require 'fortnox/api' require 'fortnox/api/mappers/invoice_row' require 'fortnox/api/mappers/examples/mapper' describe Fortnox::API::Mapper::InvoiceRow do key_map = { vat: 'VAT', price_excluding_vat: 'PriceExcludingVAT', total_excluding_vat: 'TotalExcludingVAT' } json_entity_type = 'InvoiceRow' json_entity_collection = 'InvoiceRows' it_behaves_like 'mapper', key_map, json_entity_type, json_entity_collection do let(:mapper){ described_class.new } end end
Version data entries
6 entries across 6 versions & 1 rubygems