Support :uuid column type for validate_absence_of matcher#1518
Support :uuid column type for validate_absence_of matcher#1518vsppedro merged 5 commits intothoughtbot:mainfrom
Conversation
|
Hi, @dlupu, thank you very much for your contribution! There is only one detail: rubocop detected trailing whitespace. Would be possible to fix that, please? About the error with 3.1.2, rails_6_0 and PostgreSQL I'll take a closer look as soon as I have some time. |
I did not notice the error on Test / build (3.1.2, rails_6_0, postgresql)
Remove trailing whitespace
|
@vsppedro sorry for the late reply. I fixed the rubocop issue. However, I'm surprised about the error that appears only on
The tests passes .... |
|
@vsppedro it seems that |
|
Hi @dlupu, thanks for working on this. The failure we had earlier looks like an intermittent test. It was probably not caused by your changes. I'll keep an eye on that. Thank you again! |
Hello,
I run into a case where I needed to make sure that an
uuidcolumn was empty but could not usevalidate_absence_ofmatcher.It tried to set the column with "an arbitrary value" which is not a valid uuid value.
This Pull Requests attempts to fix the situation.