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.
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_usermethod is inside the controller.