Sha256: 7930f8f7472d97333b6f22a631b572b47b3c6cb38117094004eb8d9288ad1251

Contents?: true

Size: 498 Bytes

Versions: 3

Compression:

Stored size: 498 Bytes

Contents

describe Plaid::Institution do
  context 'when a single institution is found' do
    let(:institution) { Plaid.institution('5301a93ac140de84910000e0') }
    it { expect(institution).to be_kind_of(Plaid::Institution) }
  end

  context 'when all institutions are found' do
    let(:institution) { Plaid.institution }
    it { expect(institution).to be_kind_of(Array) }
  end

  context 'when institution is not found' do
    it { expect { Plaid.institution('dumb_bank') }.to raise_error }
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
plaid-1.6.2 spec/institution_spec.rb
plaid-1.6.1 spec/institution_spec.rb
plaid-1.6.0 spec/institution_spec.rb