From afaafdd2cafcb7c43800b8a1ae13194ad728cace Mon Sep 17 00:00:00 2001 From: John Maxwell Date: Wed, 4 Dec 2024 10:52:23 -0500 Subject: [PATCH] Spec fix. changelog: Internal,Socure,Cleanup of error handling --- spec/controllers/idv/link_sent_controller_spec.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/spec/controllers/idv/link_sent_controller_spec.rb b/spec/controllers/idv/link_sent_controller_spec.rb index fe7f3ede25d..0ffee447dde 100644 --- a/spec/controllers/idv/link_sent_controller_spec.rb +++ b/spec/controllers/idv/link_sent_controller_spec.rb @@ -223,8 +223,10 @@ before do expect(FormResponse).to receive(:new).with( - { success: false, - errors: { message: error_message } }, + { + success: false, + errors: hash_including(message: error_message), + }, ) end