You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@sbrocos there's an issue with the initialization of the matcher class ActiveStorageValidations::Matchers::AspectRatioValidatorMatcher. As a workaround you can do this:
I have define this in mi model:
And in the Rspec
it { is_expected.to validate_aspect_ratio_of(:cover).allowing(:square) }
and obtain this the execute the test:
I show the code, and I don't understand what it's the problem with this validation.
Thanks for your work
The text was updated successfully, but these errors were encountered: