Skip to content

Expose token_from_user for use in tests #23

@marcqualie

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions