-
-
Notifications
You must be signed in to change notification settings - Fork 133
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
203 validator custom message error causes test matcher error #206
203 validator custom message error causes test matcher error #206
Conversation
@Mth0158 I'm good with this refactoring, please continue 🚀 |
@igorkasyanchuk I think I'll:
And maybe we can merge it if that's okay with you? |
@Mth0158 I'm fine with it. If you want to merge - do it. |
…mension_validator_matcher_test experience
@igorkasyanchuk & @gr8bit I finished this PR. |
I still think we could go further in refactoring the code, but I'll stop here for this PR, it's big enough (make too big actually) 😅 |
@Mth0158 merged, thanks for the tremendous work. Do you think it worth to release a new version, or we can just wait. |
@igorkasyanchuk thanks for the merge! |
@igorkasyanchuk here is a refacto proposition to make tests clearer.
In my opinion, switching to spec makes it really easier to read the tests, plus a big part of the community is using Rspec as their testing framework, so writing tests like specs makes even more sense.
I have just done the refacto for the size_validator_matcher as a POC, let me know if that's okay with you. Then, I was thinking of proceeding the following way:
Then we could merge it
Let me know how I can be helpful