-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Improve variant spec coverage #4642
Improve variant spec coverage #4642
Conversation
Also fixes the type of the default argument to empty array as the documentation says.
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.
Thanks
Codecov Report
@@ Coverage Diff @@
## master #4642 +/- ##
==========================================
+ Coverage 85.58% 85.63% +0.04%
==========================================
Files 570 570
Lines 14678 14678
==========================================
+ Hits 12562 12569 +7
+ Misses 2116 2109 -7
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
Danke Martin!
14c0b15
to
b35432e
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.
Minor suggestion to go the extra mile 🙂
Summary
This adds some specs for a few instance methods on Spree::Variant. No functional changes.
Checklist
The following are mandatory for all PRs:
The following are not always needed (
cross them outif they are not):I have attached screenshots to demo visual changes.I have opened a PR to update the guides.I have updated the readme to account for my changes.