Created
March 28, 2019 12:03
-
-
Save MaryKuz/a8b7ccb4765731c794e493be4eb4bb4c to your computer and use it in GitHub Desktop.
Adding the test to the User model
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
it { should have_one(:auth_token).dependent(:destroy) } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment