Files
nairobi/spec/features
Javi Martín 34e83292a9 Reload I18n after stubbing available locales
Not doing so might cause the following test to use translations for
only one locale. This scenario happens if the previous test executes
I18n.reload!, which resets I18n.config.backend's "@translations"
instance variable.

So, the sequence could be as follows:

1. The previous tests sets `@translations = nil`
2. This test stubs `available_locales` to `[:en]`
3. `@translations` gets only translations for `en`
4. The following test doesn't find translations for Spanish and fails
2018-12-10 20:37:30 +01:00
..
2018-11-30 14:15:21 +01:00
2018-11-08 12:07:13 +01:00
2018-11-11 14:54:58 +01:00
2018-07-12 10:17:25 -04:00
2018-11-10 13:48:53 +01:00
2018-11-08 12:07:13 +01:00
2018-07-20 12:28:56 +02:00
2018-07-15 13:58:32 +02:00
2018-05-22 15:41:10 +02:00