Javi Martín
447c970eb3
Remove unused block arguments
...
There are more cases where we have unused block arguments, but I'm only
changing the obvious ones.
2019-10-05 15:03:26 +02:00
taitus
11d8bd6a3d
Stub the response to an external request
2019-10-01 13:20:09 +02:00
Javi Martín
eb7a052207
Simplify tests using delayed_job
...
Among other advantages, now we can run these tests with
`rspec --tag delayed_jobs`.
2019-09-23 13:47:45 +02:00
Javi Martín
da121ebc53
Remove redundant setting resets in after blocks
...
Settings are stored in the database, and so any changes to the settings
done during the tests are automatically rolled back between one test and
the next one.
There were also a few places where we weren't using an `after` block but
changing the setting at the end of the test.
2019-09-23 13:47:45 +02:00
taitus
3a154a57cb
Fix houncibot offenses: Style/StringLiterals
2019-06-27 09:21:19 +02:00
taitus
b6642f826e
Shared example remotely translatable
...
We have 2 contexts that we want check:
- Status from button to request translation
- Status after click remote translations button
2019-06-27 09:21:19 +02:00