diff --git a/spec/cassettes/handlers/newflow/student_signup/sf_setup.yml b/spec/cassettes/Newflow_StudentSignup/sf_setup.yml similarity index 61% rename from spec/cassettes/handlers/newflow/student_signup/sf_setup.yml rename to spec/cassettes/Newflow_StudentSignup/sf_setup.yml index 88c9c775ac..3254150437 100644 --- a/spec/cassettes/handlers/newflow/student_signup/sf_setup.yml +++ b/spec/cassettes/Newflow_StudentSignup/sf_setup.yml @@ -2,7 +2,7 @@ http_interactions: - request: method: post - uri: https://test.salesforce.com/services/oauth2/token + uri: https:///services/oauth2/token body: encoding: US-ASCII string: grant_type=password&client_id=&client_secret=&username=&password= @@ -21,16 +21,15 @@ http_interactions: message: OK headers: Date: - - Tue, 21 Sep 2021 19:39:03 GMT + - Tue, 14 Nov 2023 21:48:03 GMT Set-Cookie: - - BrowserId=k2uLtBsTEeyIMaljh7M8Pg; domain=.salesforce.com; path=/; expires=Wed, - 21-Sep-2022 19:39:03 GMT; Max-Age=31536000 - - CookieConsentPolicy=0:0; domain=test.salesforce.com; path=/; expires=Wed, - 21-Sep-2022 19:39:03 GMT; Max-Age=31536000 - - LSKey-c$CookieConsentPolicy=0:0; domain=test.salesforce.com; path=/; expires=Wed, - 21-Sep-2022 19:39:03 GMT; Max-Age=31536000 + - BrowserId=fQn7fIM3Ee6fUrvg8m2SAg; domain=.salesforce.com; path=/; expires=Wed, + 13-Nov-2024 21:48:03 GMT; Max-Age=31536000 + - CookieConsentPolicy=0:0; path=/; expires=Wed, 13-Nov-2024 21:48:03 GMT; Max-Age=31536000 + - LSKey-c$CookieConsentPolicy=0:0; path=/; expires=Wed, 13-Nov-2024 21:48:03 + GMT; Max-Age=31536000 Strict-Transport-Security: - - max-age=31536000; includeSubDomains + - max-age=63072000; includeSubDomains X-Content-Type-Options: - nosniff X-Xss-Protection: @@ -49,7 +48,7 @@ http_interactions: - chunked body: encoding: ASCII-8BIT - string: '{"access_token":"","instance_url":"","id":"","token_type":"Bearer","issued_at":"1632253143861","signature":""}' - http_version: - recorded_at: Tue, 21 Sep 2021 19:39:03 GMT + string: '{"access_token":"","instance_url":"","id":"https:///id/00D040000003rgWEAQ/005U0000005MXdmIAG","token_type":"Bearer","issued_at":"1699998485027","signature":""}' + http_version: + recorded_at: Tue, 14 Nov 2023 21:48:04 GMT recorded_with: VCR 3.0.3 diff --git a/spec/features/newflow/user_login_signup_with_social_network_spec.rb b/spec/features/newflow/user_login_signup_with_social_network_spec.rb index 7b60110260..171d3bff81 100644 --- a/spec/features/newflow/user_login_signup_with_social_network_spec.rb +++ b/spec/features/newflow/user_login_signup_with_social_network_spec.rb @@ -5,7 +5,7 @@ turn_on_student_feature_flag turn_on_educator_feature_flag load('db/seeds.rb') - allow_any_instance_of(Newflow::CreateSalesforceLead).to receive(:exec) + allow_any_instance_of(Newflow::CreateOrUpdateSalesforceLead).to receive(:exec) end let(:email) { 'user@example.com' }