Sha256: 9c3fce7760d99492ac9d0d043194c80b1983410e2b99c7ca58edcf809f88699e
Contents?: true
Size: 446 Bytes
Versions: 3
Compression:
Stored size: 446 Bytes
Contents
describe Plaid::Category do context 'when a single category is found' do let(:category) { Plaid.category('17001013') } it { expect(category).to be_kind_of(Plaid::Category) } end context 'when all categories are found' do let(:category) { Plaid.category } it { expect(category).to be_kind_of(Array)} end context 'when category is not found' do it { expect { Plaid.category('dumb_cat') }.to raise_error } end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
plaid-1.6.2 | spec/category_spec.rb |
plaid-1.6.1 | spec/category_spec.rb |
plaid-1.6.0 | spec/category_spec.rb |