spec/integrations/document_spec.rb in onfido-2.2.0 vs spec/integrations/document_spec.rb in onfido-2.3.0

- old
+ new

@@ -11,10 +11,14 @@ let(:params) do { applicant_id: '1030303-123123-123123', type: 'driving_licence', file: file, - side: 'front' + side: 'front', + location: { + ip_address: '127.0.0.1', + country_of_residence: 'GBR' + } } end context 'with a File-like object to upload' do let(:file) { Tempfile.new(['driving_licence', '.jpg']) }