Sha256: 57863f5d94f4657f685d5cafe2f9c65383a348634af0e76f7ca4b0705b1396e8

Contents?: true

Size: 310 Bytes

Versions: 7

Compression:

Stored size: 310 Bytes

Contents

# encoding: utf-8
require 'spec_helper'

describe SPS::CreditorAddress do
  it 'should initialize a new address' do
    expect(
      SPS::CreditorAddress.new(
        country_code:  'CH',
        address_line1: 'Mustergasse 123',
        address_line2: '12345 Musterstadt'
      )
    ).to be_valid
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sps_king-0.5.0 spec/lib/sps_king/account/creditor_address_spec.rb
sps_king-0.4.0 spec/lib/sps_king/account/creditor_address_spec.rb
sps_king-0.3.1 spec/lib/sps_king/account/creditor_address_spec.rb
sps_king-0.3.0 spec/lib/sps_king/account/creditor_address_spec.rb
sps_king-0.2.0 spec/lib/sps_king/account/creditor_address_spec.rb
sps_king-0.1.1 spec/lib/sps_king/account/creditor_address_spec.rb
sps_king-0.1.0 spec/lib/sps_king/account/creditor_address_spec.rb