From 1c8c8c59f28e977d1bdd992b62a007b8497744c8 Mon Sep 17 00:00:00 2001 From: Jesus Bermudez Velazquez Date: Tue, 5 Nov 2024 14:21:31 +0000 Subject: [PATCH] add stub request proper error --- .../requests/api/connect/v3/systems/products_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/instance_verification/spec/requests/api/connect/v3/systems/products_controller_spec.rb b/engines/instance_verification/spec/requests/api/connect/v3/systems/products_controller_spec.rb index d12f48e0c..7328a4a6d 100644 --- a/engines/instance_verification/spec/requests/api/connect/v3/systems/products_controller_spec.rb +++ b/engines/instance_verification/spec/requests/api/connect/v3/systems/products_controller_spec.rb @@ -75,7 +75,7 @@ stub_request(:post, scc_activate_url) .to_return( status: 200, - body: { ok: 'Unexpected instance verification error has occurred' }.to_json, + body: { error: 'Unexpected instance verification error has occurred' }.to_json, headers: {} ) expect(InstanceVerification::Providers::Example).to receive(:new)