Sha256: e1c67eb83d19b1eb16ca781b5fd26c2d13268fc173ca9630ab68ccc23fff2876

Contents?: true

Size: 386 Bytes

Versions: 13

Compression:

Stored size: 386 Bytes

Contents

require 'spec_helper'

module BankingData
  describe SwissBank do
    describe 'end-to-end test' do
      ['SNBZCHZZXXX', 'UBSWCHZH31A'].each do |bic|
        it "includes #{bic}" do
          expect(SwissBank.only(:bic).map(&:first)).to include(bic)
          expect(Bank.where(locale: :ch).only(:bic).map(&:first))
            .to include(bic)
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
banking_data-0.9.4 spec/banking_data/swiss_bank_spec.rb
banking_data-0.9.3 spec/banking_data/swiss_bank_spec.rb
banking_data-0.9.2 spec/banking_data/swiss_bank_spec.rb
banking_data-0.9.1 spec/banking_data/swiss_bank_spec.rb
banking_data-0.9.0 spec/banking_data/swiss_bank_spec.rb
banking_data-0.8.0 spec/banking_data/swiss_bank_spec.rb
banking_data-0.7.2 spec/banking_data/swiss_bank_spec.rb
banking_data-0.5.1 spec/banking_data/swiss_bank_spec.rb
banking_data-0.5.0 spec/banking_data/swiss_bank_spec.rb
banking_data-0.4.0 spec/banking_data/swiss_bank_spec.rb
banking_data-0.3.0 spec/banking_data/swiss_bank_spec.rb
banking_data-0.2.0 spec/banking_data/swiss_bank_spec.rb
banking_data-0.1.0 spec/banking_data/swiss_bank_spec.rb