Sha256: 0331b8626d22ab4d4d03e10cab0ae39d231c6361a85929675bded775bd4368cd
Contents?: true
Size: 690 Bytes
Versions: 32
Compression:
Stored size: 690 Bytes
Contents
# frozen_string_literal: true require 'spec_helpers/client' RSpec.describe FinApps::REST::ConsumerInstitutionRefreshes, 'initialized with valid FinApps::Client object' do include SpecHelpers::Client subject(:consumer_institution_refresh) { FinApps::REST::ConsumerInstitutionRefreshes.new client } describe '#create' do context 'when called' do let(:create) { subject.create } let(:results) { create[0] } let(:error_messages) { create[1] } it { expect { create }.not_to raise_error } it('returns an array of records') { expect(results).to be_a Array } it('returns no error messages') { expect(error_messages).to be_empty } end end end
Version data entries
32 entries across 32 versions & 1 rubygems