-
-
Notifications
You must be signed in to change notification settings - Fork 504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cleanup factories and annotate them, drop partner users table #4536
Conversation
e53d10f
to
f431a68
Compare
* Commit [838d511](rubyforgood@838d511) merged partner users into user table, this table can be dropped
f431a68
to
1d686be
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good, I had one question.
spec/factories/users.rb
Outdated
@@ -51,6 +51,22 @@ | |||
end | |||
end | |||
|
|||
factory :partners_user do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why was this renamed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There were two identical factories, one called :partner_user defined in factories/partner_user.rb and one called :partners_user defined in factories/partners/user.rb
The codebase used both so I just did a coin flip and picked one to rename all of them to
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry - can you switch your coin flip and go back to partner_user
? :)
Also, there is now a conflict on the schema file that needs to be resolved.
Nice, thanks! |
@jimmyli97: Your PR |
Description
Clean up factories and annotate missing annotations
Type of change
How Has This Been Tested?
Passes test suite