Skip to content

Refactor Google authentication test #190

@EvgeniyEsaulkov

Description

@EvgeniyEsaulkov

In https://github.com/fs/rails-base-graphql-api/blob/master/spec/graphql/mutations/sign_in_with_google_spec.rb we stub some Google API Client classes. I suggest to use stub_request and substitute Google API response. This way we don't need to stub Google API Client library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions