Sha256: 120dbf897c53596a00a7d1f086c5f337c6e7ec50d65860251d12134472f00afb

Contents?: true

Size: 392 Bytes

Versions: 5

Compression:

Stored size: 392 Bytes

Contents

require 'spec_helper'

module BankingData
  describe DutchBank do
    describe 'end-to-end test' do
      ['ABNANL2A', 'INGBNL2A', 'RABONL2U'].each do |bic|
        it "includes #{bic}" do
          expect(DutchBank.only(:bic).map(&:first)).to include(bic)
          expect(Bank.where(locale: :nl).only(:bic).map(&:first))
            .to include(bic)
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
banking_data-0.9.4 spec/banking_data/dutch_bank_spec.rb
banking_data-0.9.3 spec/banking_data/dutch_bank_spec.rb
banking_data-0.9.2 spec/banking_data/dutch_bank_spec.rb
banking_data-0.9.1 spec/banking_data/dutch_bank_spec.rb
banking_data-0.9.0 spec/banking_data/dutch_bank_spec.rb