Skip to content

Expose token_from_user for use in tests #23

Description

@marcqualie

I'm currently integration tokenable into a rails app and want to write tests to check for valid vs invalid tokens and the responses.

Currently I can't find an easy way to generate a valid token for a user since the token_from_user method is inside the controller.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions