spec/integrations/check_spec.rb in onfido-0.7.1 vs spec/integrations/check_spec.rb in onfido-0.8.1
- old
+ new
@@ -48,6 +48,14 @@
it 'allows you to expand the reports' do
response = check.all(applicant_id, expand: "reports")
expect(response['checks'].first['reports'].first).to be_a(Hash)
end
end
+
+ describe "#resume" do
+ let(:check_id) { '8546921-123123-123123' }
+
+ it 'returns success response' do
+ expect { check.resume(check_id) }.not_to raise_error
+ end
+ end
end