Sha256: c98249f564b474bfd4230a872809396040e8b9cdbe5d3f91c60ccb4ac253bd3b

Contents?: true

Size: 466 Bytes

Versions: 6

Compression:

Stored size: 466 Bytes

Contents

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, 20000 ) }
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fortnox-api-0.5.2 spec/fortnox/api/types/email_information_spec.rb
fortnox-api-0.5.1 spec/fortnox/api/types/email_information_spec.rb
fortnox-api-0.5.0 spec/fortnox/api/types/email_information_spec.rb
fortnox-api-0.4.0 spec/fortnox/api/types/email_information_spec.rb
fortnox-api-0.3.0 spec/fortnox/api/types/email_information_spec.rb
fortnox-api-0.2.0 spec/fortnox/api/types/email_information_spec.rb