Files
nairobi/spec/models
Javi Martín 006269a94b Simplify tests validating postal codes
We weren't using the `be_valid` matcher because we had errors in the
census data.

Removing the `before_validation` callback and using a method to get the
census data instead allows us to stub the `census_data` method in the
tests, and so we can use the `be_valid` matcher instead of calling
`valid?` manually and then checking for errors.
2021-12-16 13:57:00 +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