Files
nairobi/spec/system
Javi Martín 148ac6dcb4 Move comment_on tests to mailer specs
These tests don't use the browser to send emails since commit e21588ec1.
However, note that this commit actually actually decreased our test
coverage somehow; since then, we're no longer testing whether we send an
email to the author after clicking the "Publish comment" button. We
might need to add a test for this in the `spec/system/comments_spec.rb`
file... but that's a story for another time.

Note we need to stub the `deliver_later` method; otherwise,
`open_last_email` would raise an exception since no email would have
been delivered.

We're moving them now because these tests use the `open_last_email`
method, and we're looking for places where using this method might
result in a flaky test when used inside a system test.
2025-03-26 16:27:08 +01:00
..
2025-03-26 16:27:08 +01:00
2025-03-26 16:27:07 +01: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
2023-08-30 14:46:35 +02:00
2023-06-12 14:30:00 +02:00