Files
nairobi/spec/system
Javi Martín c7267f9729 Use logout to sign out in tests
We were doing it most of the time, but in some cases we were clicking
the "Sign out" link instead. These actions aren't the same, just like
using `login_as` is not the same as visiting the sign in page and
submitting the form.

Some of these tests failed sometimes because the user wasn't signed in
after using `login_as`. One possible cause could be that we weren't
adding an expectation after clicking the "Sign out" link.

So using `logout` adds consistency, simplifies the code, and might
reduce the chance of these tests failing in the future (although they
might still fail in the future because some of these tests check the
database after a `visit` call).
2024-06-17 16:48:37 +02:00
..
2024-04-23 23:56:17 +02:00
2024-03-25 07:59:42 +01:00
2022-01-03 13:33:37 +01:00
2024-06-17 16:48:37 +02:00
2024-06-17 16:48:37 +02:00
2023-08-30 14:46:35 +02:00
2024-04-15 15:39:23 +02:00
2024-03-25 07:59:42 +01:00
2023-06-12 14:30:00 +02:00
2024-05-09 14:28:32 +02:00
2023-10-24 19:00:43 +02:00