Sha256: f46f055d12a0be587c35981cb7aafe709eec1ca56c605d98c3f60fdc89284044
Contents?: true
Size: 479 Bytes
Versions: 13
Compression:
Stored size: 479 Bytes
Contents
# frozen_string_literal: true describe Onfido::ConnectionError do subject(:error) do described_class.new( 'Invalid response object from API', response_code: response_code, response_body: response_body ) end let(:response_code) { nil } let(:response_body) { nil } context 'without a response_body' do its(:json_body) { is_expected.to be_nil } its(:type) { is_expected.to be_nil } its(:fields) { is_expected.to be_nil } end end
Version data entries
13 entries across 13 versions & 1 rubygems