Javi Martín
66334b5757
Add globalizable tests for all translatable models
...
So now we test in depth at the model level, and can be a bit more
relaxed about integration tests for translations.
Note we're defining some extra factories to make sure all translatable
attributes with presence validation rules are mandatory. This way we can
simplify the way we obtain required fields, using `required_attribute?`.
Otherwise, fields having an `unless` condition in their presence
validation rules would count as mandatory even when they're not.
2019-09-23 18:01:44 +02:00
..
2019-09-10 21:43:39 +02:00
2019-09-23 16:51:00 +02:00
2019-09-23 18:01:44 +02:00
2019-09-23 18:01:44 +02:00
2019-02-15 11:40:39 +01:00
2019-09-23 16:51:00 +02:00
2019-09-23 18:01:44 +02:00
2019-07-29 13:07:24 +02:00
2019-02-15 11:40:39 +01:00
2019-09-23 16:51:00 +02:00
2019-09-23 18:01:44 +02:00
2019-09-23 18:01:44 +02:00
2019-09-23 16:51:00 +02:00
2019-09-23 18:01:44 +02:00
2019-09-23 16:51:00 +02:00
2019-02-15 11:40:39 +01:00
2019-09-10 21:04:56 +02:00
2019-09-23 18:01:44 +02:00
2019-09-23 18:01:44 +02:00
2019-09-23 16:51:00 +02:00
2019-02-15 11:40:39 +01:00
2019-09-23 16:51:00 +02:00
2019-09-23 16:51:00 +02:00
2019-09-10 20:02:15 +02:00
2019-04-30 12:00:54 +02:00
2019-09-23 16:51:00 +02:00
2019-02-15 11:40:39 +01:00
2019-05-31 18:22:59 +02:00
2019-09-23 18:01:44 +02:00
2019-02-15 11:40:39 +01:00
2019-02-15 11:40:39 +01:00
2019-03-27 15:22:14 +01:00
2019-07-29 13:07:24 +02:00
2019-02-15 11:40:39 +01:00
2019-02-15 11:40:39 +01:00
2019-09-23 18:01:44 +02:00
2019-09-23 13:47:45 +02:00
2019-09-23 16:51:00 +02:00
2019-09-23 16:51:00 +02:00
2019-09-23 18:01:44 +02:00
2019-09-23 16:51:00 +02:00
2019-09-23 18:01:44 +02:00
2019-09-23 16:51:00 +02:00
2019-09-23 13:47:45 +02:00
2019-09-23 16:51:00 +02:00
2019-09-23 13:47:45 +02:00
2019-09-23 13:47:45 +02:00
2019-05-21 13:50:18 +02:00
2019-05-21 13:50:19 +02:00
2019-09-23 16:51:00 +02:00
2019-09-07 16:43:41 +02:00
2019-02-15 11:40:39 +01:00
2019-09-23 16:51:00 +02:00
2019-09-10 21:43:39 +02:00
2019-06-11 16:24:02 +02:00
2019-09-23 16:51:00 +02:00