-
-
Notifications
You must be signed in to change notification settings - Fork 724
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
Extract factories to separate files and fix rubocop issues #3936
Extract factories to separate files and fix rubocop issues #3936
Conversation
53d09b0
to
42f2e78
Compare
…e and included in spree v1.2
… a problem any longer
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.
Awesome!
maybe it deserved a review by everyone... ping @kristinalim @mkllnk let me know if there's anything else you think should be changed or improved here. |
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.
Yay!
What? Why?
Closes #3612
Moving factories to separate files and fix rubocop issues.
Factories clean up time finally! I have been dreaming about this since a year ago when I started working on the spree upgrade :-D
It's looking good, factories.rb is now under 200 lines and no rubocop issues in any of the factories files.
Note for reviewers: commits that start with "Extract..." are only copy paste exercises.
What should we test?
Green build. Production code is not affected in any way.
Release notes
Changelog Category: Changed
Factories (support code for automated tests) is now better organized.