Sha256: 14d4a67806cf29471a465a8512128d73737118fb9a383d5e227c811926a99f80

Contents?: true

Size: 483 Bytes

Versions: 12

Compression:

Stored size: 483 Bytes

Contents

describe Onfido::ReportTypeGroup do
  subject(:report_type_group) { described_class.new }

  describe '#find' do
    let(:id) { '8546921-123123-123123' }

    it 'return a retport type group' do
      response = report_type_group.find(id)
      expect(response['id']).not_to be_nil
    end
  end

  describe '#all' do
    it 'return a list of report type group' do
      response = report_type_group.all
      expect(response['report_type_groups']).not_to be_empty
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
onfido-0.15.1 spec/integrations/report_type_group_spec.rb
onfido-0.15.0 spec/integrations/report_type_group_spec.rb
onfido-0.14.0 spec/integrations/report_type_group_spec.rb
onfido-0.13.0 spec/integrations/report_type_group_spec.rb
onfido-0.12.0 spec/integrations/report_type_group_spec.rb
onfido-0.11.0 spec/integrations/report_type_group_spec.rb
onfido-0.10.0 spec/integrations/report_type_group_spec.rb
onfido-0.9.0 spec/integrations/report_type_group_spec.rb
onfido-0.8.4 spec/integrations/report_type_group_spec.rb
onfido-0.8.3 spec/integrations/report_type_group_spec.rb
onfido-0.8.2 spec/integrations/report_type_group_spec.rb
onfido-0.8.1 spec/integrations/report_type_group_spec.rb