Files
nairobi/spec/system
Javi Martín 71053fd334 Don't use localization methods in system specs
The method `formatted_heading_price` depends on the current locale. When
we make a request to `visit budgets_path locale: :es`, the request
modifies `I18n.locale` as well.

However, if we use JavaScript tests, the process running the test is
different than the process handling the request, and so the change in
`I18n.locale` does not affect the test.

Checking against the actual value we expect makes the test work with and
without JavaScript.
2021-04-07 14:32:49 +02:00
..
2021-03-18 15:03:21 +01:00
2020-12-16 13:16:45 +01:00
2020-06-25 19:45:56 +02:00
2021-01-20 19:18:58 +01:00