Sha256: b81f81c71deb74adc5d5c3680ab0eafeb16f99854c1b2d1df167197862c12c14

Contents?: true

Size: 494 Bytes

Versions: 11

Compression:

Stored size: 494 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'
require 'fortnox/api/types/email_information'

RSpec.describe Fortnox::API::Types::EmailInformation, type: :type do
  subject { described_class }

  it { is_expected.to have_email(:email_address_to) }
  it { is_expected.to have_email(:email_address_cc) }
  it { is_expected.to have_email(:email_address_bcc) }

  it { is_expected.to have_sized_string(:email_subject, 100) }
  it { is_expected.to have_sized_string(:email_body, 20_000) }
end

Version data entries

11 entries across 11 versions & 1 rubygems

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