Created
July 3, 2018 07:57
-
-
Save groony/8b42c71d71df8ec1dc71ab4b2ac8d3a9 to your computer and use it in GitHub Desktop.
factory_cascade_ex
This file contains hidden or 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
factory :account do | |
end | |
factory :user do | |
account | |
end | |
factory :project do | |
account | |
user | |
end | |
factory :task do | |
account | |
project | |
user | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment