Fix RSpec/LetSetup
cop in spec/controllers/admin area (#27619)
This commit is contained in:
parent
6c52f8286b
commit
beee9ea991
6 changed files with 24 additions and 19 deletions
|
@ -8,8 +8,8 @@ describe Admin::ActionLogsController do
|
|||
# Action logs typically cause issues when their targets are not in the database
|
||||
let!(:account) { Fabricate(:account) }
|
||||
|
||||
let!(:orphaned_logs) do
|
||||
%w(
|
||||
before do
|
||||
_orphaned_logs = %w(
|
||||
Account User UserRole Report DomainBlock DomainAllow
|
||||
EmailDomainBlock UnavailableDomain Status AccountWarning
|
||||
Announcement IpBlock Instance CustomEmoji CanonicalEmailBlock Appeal
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue