Sha256: 03e84349f1757d4ba2df4aa3038bd38bbadda13f511104f6da9f084cd865c7ca

Contents?: true

Size: 360 Bytes

Versions: 2

Compression:

Stored size: 360 Bytes

Contents

require 'spec_helper'

describe Forgery::BankAccount do

  describe 'ibans' do
    it 'returns a random iban' do
      expect(Forgery.dictionaries[:ibans]).to include(Forgery::BankAccount.iban)
    end
  end

  describe 'bics' do
    it 'returns a random bic' do
      expect(Forgery.dictionaries[:bics]).to include(Forgery::BankAccount.bic)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
forgery-0.8.1 spec/forgery/bank_account_spec.rb
forgery-0.7.0 spec/forgery/bank_account_spec.rb