Sha256: 4731a4ca4ff2d5897efd82da6a8fcc730b5eccea5b7043319c4bbd276f4f9d53
Contents?: true
Size: 527 Bytes
Versions: 9
Compression:
Stored size: 527 Bytes
Contents
describe Onfido::Report do subject(:report) { described_class.new } let(:check_id) { '8546921-123123-123123' } describe '#find' do let(:report_id) { '6951786-123123-422221' } it 'returns a report for an existing check' do response = report.find(check_id, report_id) expect(response['id']).to eq(report_id) end end describe '#all' do it 'lists all reports for an existing check' do response = report.all(check_id) expect(response['reports'].count).to eq(2) end end end
Version data entries
9 entries across 9 versions & 1 rubygems