Sha256: fe824d235667639074cf18926f93d7e7b9d023432e8765406608bd6b21c5d46e
Contents?: true
Size: 530 Bytes
Versions: 4
Compression:
Stored size: 530 Bytes
Contents
require 'spec_helper.rb' RSpec.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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
plaid-1.5.3 | spec/institution_spec.rb |
plaid-1.5.2 | spec/institution_spec.rb |
plaid-1.5.1 | spec/institution_spec.rb |
plaid-1.5.0 | spec/institution_spec.rb |