Skip to content

Fix paypal spec so they don't fail randomly #174

@RichardWatkins1

Description

@RichardWatkins1

The issue

spec/lib/paypal_express/setup_spec.rb makes real api calls to DEV, if the app response slowly the specs fail with FlexCommerceApi::Error::AccessDenied

The fix

If we want to make real api calls we could rescue the above error and then return a fixture if possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions