Replies: 1 comment
-
|
Very good callout @mtoygar! That README section seems obsolete now. (Thank you for the docs reference!) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
test helper examples in the readme only uses ActionController::TestCase
https://github.com/gonzalo-bulnes/simple_token_authentication#testing
However currently Rails guides discourages the usage of
ActionController::TestCasein favor ofActionDispatch::IntegrationTest. I believe adding an integration test example would be beneficial.https://api.rubyonrails.org/classes/ActionController/TestCase.html
Below usage should be valid for tests that are inherited from ActionDispatch::IntegrationTest
Beta Was this translation helpful? Give feedback.
All reactions