Files
nairobi/spec/models
Javi Martín df2b3f2ee7 Avoid model inheritance in skip validation test
One of these tests was failing sometimes on Github Actions. It looked
like the line `custom_banner.save!` was using the validations from the
Banner class sometimes, even if the callbacks had correctly been
removed in the DummyBanner class.

Se we're inheriting from ApplicationRecord instead of inheriting from
Banner. Since I couldn't reproduce the issue locally after running the
test hundreds of times and with the same seed and tests that were
running on Github Actions, there's a change this won't work. I've tested
a few times on Github Actions and it seems to be working, but we'll have
to keep an eye on it.
2022-03-25 20:25:34 +01:00
..
2021-10-01 16:19:10 +02:00
2019-05-31 18:22:59 +02:00
2019-03-27 15:22:14 +01:00
2021-08-13 04:39:44 +02:00
2022-02-21 18:47:13 +01:00