Sha256: 27163439de6e0d2ecc6b5eded7bf55fa2864eaa9cf363c7c5977d012d25b91d5
Contents?: true
Size: 665 Bytes
Versions: 11
Compression:
Stored size: 665 Bytes
Contents
# frozen_string_literal: true 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 = { housework: 'HouseWork', housework_hours_to_report: 'HouseWorkHoursToReport', housework_type: 'HouseWorkType', price_excluding_vat: 'PriceExcludingVAT', total_excluding_vat: 'TotalExcludingVAT', vat: 'VAT' } 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
11 entries across 11 versions & 1 rubygems