Sha256: ecaa71fc00dfe76d065571a433363c316f82219c6e60ee372a51e3467fe8a693

Contents?: true

Size: 386 Bytes

Versions: 4

Compression:

Stored size: 386 Bytes

Contents

require 'spec_helper'

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
banking_data-0.4.0 spec/banking_data/austrian_bank_spec.rb
banking_data-0.3.0 spec/banking_data/austrian_bank_spec.rb
banking_data-0.2.0 spec/banking_data/austrian_bank_spec.rb
banking_data-0.1.0 spec/banking_data/austrian_bank_spec.rb