Sha256: 40deb93d9940a5410dfff5c61e7d9d106a72361b04ca836712e56a755a21dd35

Contents?: true

Size: 539 Bytes

Versions: 12

Compression:

Stored size: 539 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'
require 'fortnox/api'
require 'fortnox/api/mappers/email_information'
require 'fortnox/api/mappers/examples/mapper'

describe Fortnox::API::Mapper::EmailInformation do
  key_map = {
    email_address_bcc: 'EmailAddressBCC',
    email_address_cc: 'EmailAddressCC'
  }
  json_entity_type = 'EmailInformation'
  json_entity_collection = 'EmailInformation'

  it_behaves_like 'mapper', key_map, json_entity_type, json_entity_collection do
    let(:mapper) { described_class.new }
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
fortnox-api-0.9.1 spec/fortnox/api/mappers/email_information_spec.rb
fortnox-api-0.8.2 spec/fortnox/api/mappers/email_information_spec.rb
fortnox-api-0.8.1 spec/fortnox/api/mappers/email_information_spec.rb
fortnox-api-0.9.0 spec/fortnox/api/mappers/email_information_spec.rb
fortnox-api-0.8.0 spec/fortnox/api/mappers/email_information_spec.rb
fortnox-api-0.7.2 spec/fortnox/api/mappers/email_information_spec.rb
fortnox-api-0.7.1 spec/fortnox/api/mappers/email_information_spec.rb
fortnox-api-0.7.0 spec/fortnox/api/mappers/email_information_spec.rb
fortnox-api-0.6.3 spec/fortnox/api/mappers/email_information_spec.rb
fortnox-api-0.6.2 spec/fortnox/api/mappers/email_information_spec.rb
fortnox-api-0.6.1 spec/fortnox/api/mappers/email_information_spec.rb
fortnox-api-0.6.0 spec/fortnox/api/mappers/email_information_spec.rb