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-04-07 14:32:49 +02:00
2021-02-08 15:45:25 +01:00
2021-04-07 14:32:49 +02:00
2021-01-22 12:31:48 +01:00
2021-03-31 13:38:38 +02:00
2021-03-31 14:42:20 +02:00
2021-04-07 14:32:49 +02:00
2021-04-07 14:32:49 +02:00
2020-11-02 11:42:39 +01:00
2021-03-31 14:42:20 +02:00
2021-03-31 13:38:38 +02:00
2021-03-31 14:42:20 +02:00
2021-03-31 14:42:20 +02:00
2021-03-18 15:03:21 +01:00
2021-04-07 14:32:49 +02:00
2020-11-02 11:42:39 +01:00
2020-04-24 15:43:54 +02:00
2020-12-16 13:16:45 +01:00
2021-03-31 14:09:13 +02:00
2021-04-07 14:32:49 +02:00
2020-12-02 15:33:19 +01:00
2020-12-02 15:33:19 +01:00
2021-03-31 14:42:20 +02:00
2021-04-07 14:32:49 +02:00
2020-04-24 15:43:54 +02:00
2021-04-07 14:32:49 +02:00
2021-03-02 14:45:19 +01:00
2020-10-25 14:23:53 +01:00
2020-06-25 19:45:56 +02:00
2020-04-24 15:43:54 +02:00
2020-12-16 13:16:45 +01:00
2021-04-07 14:32:49 +02:00
2020-04-24 15:43:54 +02:00
2020-12-16 13:16:45 +01:00
2020-04-24 15:43:54 +02:00
2020-04-24 15:43:54 +02:00
2021-02-18 14:45:48 +01:00
2021-04-07 14:32:49 +02:00
2021-04-07 14:32:49 +02:00
2020-04-24 15:43:54 +02:00
2020-12-16 11:43:17 +01:00
2020-08-11 18:19:48 +02:00
2021-04-07 14:32:49 +02:00
2020-04-24 15:43:54 +02:00
2020-04-24 15:43:54 +02:00
2020-04-24 15:43:54 +02:00
2020-04-24 15:43:54 +02:00
2020-04-24 15:43:54 +02:00
2020-04-24 15:43:54 +02:00
2020-07-27 14:47:42 +02:00
2020-12-02 15:33:19 +01:00
2020-12-16 13:16:45 +01:00
2020-10-25 14:23:53 +01:00
2020-04-24 15:43:54 +02:00
2021-01-20 19:18:58 +01:00