Julian Herrero
b9ec40325c
Fix link to comments on admin view for debates
2022-06-13 17:04:51 +02:00
Javi Martín
3da4ee00b8
Simplify tests requiring admin login
...
We were repeating the same code over and over (with a few variants) to
setup tests which require an administrator. We can use a tag and
simplify the code.
2020-12-02 15:33:19 +01:00
Javi Martín
4f30720593
Fix flagging/unflagging in the admin section
...
We weren't adding the HTML id our JavaScript expects, and so the page
didn't update the flag element.
2020-07-07 23:39:21 +02:00
Javi Martín
9427f01442
Use system specs instead of feature specs
...
We get rid of database cleaner, and JavaScript tests are faster because
between tests we now rollback transactions instead of truncating the
database.
2020-04-24 15:43:54 +02:00