Nenad Vujicic
cc6bfb2c7c
Removes first comment body from notes tests
...
Improves notes unit tests by replacing checking with first comment's body with checking with default / user-specified descriptions. Also, removes test_author unit test, adds setting note's author when checking notification's success and sets first comment type to "opened" in tests with tooltips which require first comment to be "opened".
2025-03-05 19:01:03 +00:00
Nenad Vujicic
11e0444f36
Added unit tests for new Note methods
...
Added unit tests for new Note methods and updated system tests to use description instead of first comment's body.
2025-01-15 12:12:56 +01:00
Tom Hughes
55a793150d
Fix new rubocop warnings
2024-01-09 18:43:15 +00:00
Tom Hughes
e8af4b85bf
Fix new rubocop warnings
2023-09-26 18:42:57 +01:00
Andy Allan
9748ce301c
Move browse#note to notes#show
...
This allows a more resourceful routing approach.
2023-02-01 17:13:41 +00:00
Andy Allan
d257c21740
Use assert_content
instead of assert page.has_content?
...
The assert_content comes from capybara, and gives a much more helpful
error message if the test fails.
2022-01-06 13:16:47 +00:00
Frederik Ramm
d14083129c
Fix a small typo and tests that depend on it.
2021-01-19 20:56:43 +01:00
Tom Hughes
e5604ce98e
Assign vandalism reports for users to moderators
2018-06-17 11:14:19 +01:00
Tom Hughes
0071025400
Avoid using "other" as a translation key
2018-06-16 16:21:07 +01:00
Tom Hughes
29f12c4547
Improve system tests for issues
2018-06-10 19:03:47 +01:00
Tom Hughes
d3700e6201
Merge branch 'master' into next
2018-06-10 17:02:12 +01:00
Tom Hughes
2aca6920dc
Use lazy lookups for translations in issues
2018-06-10 16:59:58 +01:00
Andy Allan
46c183ffeb
Add more tests
2018-03-28 11:05:47 +08:00