Matt Jankowski
32e19e3af6
Reduce `.times` usage in request and controller specs ( #27949 )
12 months ago
Matt Jankowski
b2c5b20ef2
Fix `RSpec/AnyInstance` cop ( #27810 )
1 year ago
Matt Jankowski
49ba5a9f94
Use `hash_including` to check `AccountFilter` setup in `admin/accounts` controller spec ( #27838 )
1 year ago
Matt Jankowski
dc0bf87090
Remove unused before block from settings/branding spec ( #27759 )
1 year ago
Matt Jankowski
49e2772064
Fix `RSpec/MessageSpies` cop ( #27751 )
1 year ago
Matt Jankowski
beee9ea991
Fix `RSpec/LetSetup` cop in spec/controllers/admin area ( #27619 )
1 year ago
Matt Jankowski
2e6bf60f15
Use `deliveries.size` in mailer-related examples in controller specs ( #27589 )
1 year ago
Matt Jankowski
9f218c9924
Refactor appeal partial to avoid brakeman XSS warning ( #25880 )
1 year ago
Matt Jankowski
708299bb0d
Misc coverage improvements for `Admin::` and `Settings::` controllers ( #25346 )
1 year ago
Claire
b83e487502
Fix moderator rights inconsistencies ( #26729 )
1 year ago
Matt Jankowski
c75df62ccc
Fix `RSpec/SubjectDeclaration` cop ( #25312 )
1 year ago
Matt Jankowski
05f9e39b32
Fix `RSpec/VerifiedDoubles` cop ( #25469 )
1 year ago
Matt Jankowski
38433ccd0b
Reduce `Admin::Reports::Actions` spec db activity ( #25465 )
1 year ago
Claire
602c458ab6
Add finer permission requirements for managing webhooks ( #25463 )
1 year ago
Claire
fd23f50243
Fix wrong view being displayed when a webhook fails validation ( #25464 )
1 year ago
Matt Jankowski
4c5aa0e470
Update rubocop-rspec to version 2.22.0, fix `RSpec/IndexedLet` cop ( #24698 )
1 year ago
Matt Jankowski
6c0e3f490a
Fix RSpec/MissingExampleGroupArgument cop ( #25310 )
1 year ago
Matt Jankowski
1e243e2df7
Misc spec coverage for `Admin::` area controllers ( #25282 )
1 year ago
Claire
e9385e93e9
Add a confirmation screen when suspending a domain ( #25144 )
1 year ago
Matt Jankowski
8b1bfaed3e
Add specs for admin/webhooks CRUD actions ( #25133 )
1 year ago
Matt Jankowski
665bb237a8
Increase spec coverage for controllers - admin/ip_blocks, admin/relays, admin/rules ( #25192 )
1 year ago
Matt Jankowski
d2e5430d4a
Fix RSpec/ExpectChange cop ( #25101 )
2 years ago
Matt Jankowski
2877c80dbc
Add specs for admin/announcements CRUD actions ( #25077 )
2 years ago
Nick Schonning
99e2e9b81f
Fix minor typos in comments and spec names ( #21831 )
2 years ago
Matt Jankowski
2c2d924942
Fix RSpec/RepeatedExampleGroupDescription cop ( #24850 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Matt Jankowski
a610a02d4f
Fix RSpec/ScatteredSetup cop ( #24848 )
2 years ago
Nick Schonning
da3bd913ae
Autofix Rubocop Style/HashSyntax ( #23754 )
2 years ago
Matt Jankowski
c97b611b6b
Fix RSpec/InferredSpecType cop ( #24736 )
2 years ago
Matt Jankowski
710745e16b
Fix RSpec/ContextWording cop ( #24739 )
2 years ago
Nick Schonning
a3393d0d07
Autofix Rubocop RSpec/MatchArray ( #24050 )
2 years ago
Eugen Rochko
e98c86050a
Refactor `Cache-Control` and `Vary` definitions ( #24347 )
2 years ago
Matt Jankowski
42ddc45133
Admin controllers specs ( #23917 )
2 years ago
Claire
3f52e717fa
Add tests for moderation actions without custom text ( #23184 )
2 years ago
Nick Schonning
6bd7003799
Fix mispelled spec filenames ( #23834 )
2 years ago
Nick Schonning
84cc805cae
Enable Style/FrozenStringLiteralComment for specs ( #23790 )
2 years ago
Nick Schonning
35d032500b
Autofix Rubocop Security/IoMethods ( #23757 )
2 years ago
Nick Schonning
5116347eb7
Autofix Rubocop RSpec/BeEq ( #23740 )
2 years ago
Nick Schonning
4552685f6b
Autofix Rubocop RSpec/LeadingSubject ( #23670 )
2 years ago
Nick Schonning
38a1d8bb85
Autofix Rubocop RSpec/ImplicitSubject ( #23721 )
2 years ago
Nick Schonning
5179c47087
Autofix Rubocops RSpec/ScatteredLet ( #23725 )
2 years ago
Nick Schonning
aef0051fd0
Enable Rubocop HTTP status rules ( #23717 )
2 years ago
Nick Schonning
bd1d57c230
Autofix Rubocop RSpec/EmptyLineAfterSubject ( #23719 )
2 years ago
Nick Schonning
65ba0d92ef
Enable Rubocop RSpec/NotToNot ( #23723 )
2 years ago
Nick Schonning
81ad6c2e39
Autofix Rubocop Style/StringLiterals ( #23695 )
2 years ago
Nick Schonning
3680e032b4
Autofix Rubocop RSpec/EmptyLineAfterFinalLet ( #23707 )
2 years ago
Nick Schonning
5069769cbe
Autofix Rubocop Style/TrailingCommaInHashLiteral ( #23693 )
2 years ago
Nick Schonning
669f6d2c0a
Run rubocop formatting except line length ( #23632 )
2 years ago
Claire
343e1fe8e9
Add confirmation screen when handling reports ( #22375 )
...
* Add confirmation screen on moderation actions
* Add flash notice when a report has been processed
* Refactor tests
* Add tests
2 years ago
Claire
fcc4c9b34a
Change domain block CSV parsing to be more robust and handle more lists ( #21470 )
...
* Change domain block CSV parsing to be more robust and handle more lists
* Add some tests
* Improve domain block import validation and reporting
2 years ago
Claire
21a1a8ee88
Fix crash when marking statuses as sensitive while some statuses are deleted ( #22134 )
...
* Do not offer to mark statuses as sensitive if there is no undeleted status with media attachments
* Fix crash when marking statuses as sensitive while some statuses are deleted
Fixes #21910
* Fix multiple strikes being created for a single report when selecting “Mark as sensitive”
* Add tests
2 years ago