Sha256: 4f9193b0cb376ed4ba9210fc1ad2de980c92945d667fc6720a016123ab693718

Contents?: true

Size: 297 Bytes

Versions: 1

Compression:

Stored size: 297 Bytes

Contents

require 'spec_helper'

describe BankLookup::DB do
  it 'allows looking up a number with a string number' do
    BankLookup::DB['011000015'].should == 'FEDERAL RESERVE BANK'
  end

  it 'does not allow looking up a number with an int number' do
    BankLookup::DB[011000015].should be_nil
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bank_lookup-0.2.1 spec/bank_lookup_spec.rb