Sha256: 0948864f8492a34ef2e546c43dcddb667e33ecb70ef4156f220ac385368b984f
Contents?: true
Size: 847 Bytes
Versions: 2
Compression:
Stored size: 847 Bytes
Contents
# frozen_string_literal: true RSpec.describe FinApps::REST::EdmTransmissions do include SpecHelpers::Client RSpec.shared_examples 'an EdmTransmission response' do it_behaves_like 'an API request' it_behaves_like 'a successful request' it('returns a hash with the correct keys') do expect(subject[RESULTS].keys) .to(match_array(%i[transmission_id date_created date_modified status document_order_id documents])) end end describe '#create' do subject(:list) { described_class.new(client).create(:order_id, params) } let(:params) { {external_id: '12345'} } it_behaves_like 'an EdmTransmission response' end describe '#show' do subject(:show) { described_class.new(client).show(:transmission_id) } it_behaves_like 'an EdmTransmission response' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
finapps-6.13.0 | spec/rest/edm_transmissions_spec.rb |
finapps-6.12.0 | spec/rest/edm_transmissions_spec.rb |