Last active
November 24, 2017 09:16
-
-
Save leylaKapi/526d6d99cc317ab95ecea981b68dc700 to your computer and use it in GitHub Desktop.
Using FactoryGirl in Rails Console
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
$ RAILS_ENV=test rails c | |
[1] pry(main)> FactoryGirl.find_definitions | |
# then we can use each test row code in rails console |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment