-
Notifications
You must be signed in to change notification settings - Fork 2
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
Fixes #66 #74
Fixes #66 #74
Conversation
Pull Request Test Coverage Report for Build 9730921185Details
💛 - Coveralls |
hey, code looks good to me! I've added two commits, please see them as suggestions, if you don't like it, feel free to drop them again ;) It took me some time to get what |
Pull Request Test Coverage Report for Build 9760316565Details
💛 - Coveralls |
@yksflip Thanks for you review! Also thanks for your additions. You're right about both issues you addressed, of course.
Yeah, sorry I was aware of the ugliness of the duplication. The reason I didn't change it, was that I thought, it'd be best to move the foodsoft_hackathon/spec/models/article_version_spec.rb Lines 92 to 98 in c73596b
But until I find time to do that, I'll keep your changes. 👍
Hm... I'm usually a big fan of self-explanatory code as I think code comments are seldom maintained properly. They can thus become misleading at a later point so I try to avoid them for everything but external API or DB fields etc. Maybe we can just think of a better name for the method making its purpose more obvious?
Well I'm not sure, if it's that nice and was actually thinking about changing it too. The only reason I introduced the I'll keep that change too and think about it later (Could still be changed easily throughout the application by running copy/replace). 👍 |
Looks good to me apart from the minor thing with the multiplier. |
Sorry, which "minor thing with the multiplier" are you referring to? |
See my review above |
Could you please post a citation & link - I'm not seeing it. (Maybe it's hidden somehow?) |
Pull Request Test Coverage Report for Build 9910240083Details
💛 - Coveralls |
* Fixes #66 * Fixes broken integration tests * chore: refactor extract articles_helper article_version test setup function * chore: make helper functions private * On #66 Fixes https://github.com/foodcoopsat/foodsoft_hackathon/pull/74/files/b078cfaa87d334dba8eaafff5b2be152f293c448#r1670426999 --------- Co-authored-by: Philipp Rothmann <[email protected]>
* Fixes #66 * Fixes broken integration tests * chore: refactor extract articles_helper article_version test setup function * chore: make helper functions private * On #66 Fixes https://github.com/foodcoopsat/foodsoft_hackathon/pull/74/files/b078cfaa87d334dba8eaafff5b2be152f293c448#r1670426999 --------- Co-authored-by: Philipp Rothmann <[email protected]>
No description provided.