Autofix Rubocop Style/TrailingCommaInHashLiteral (#23693)
This commit is contained in:
parent
de4b8224c0
commit
5069769cbe
22 changed files with 61 additions and 89 deletions
|
@ -39,7 +39,7 @@ RSpec.describe Admin::AccountsController, type: :controller do
|
|||
username: 'username',
|
||||
display_name: 'display name',
|
||||
email: 'local-part@domain',
|
||||
ip: '0.0.0.42'
|
||||
ip: '0.0.0.42',
|
||||
}
|
||||
end
|
||||
|
||||
|
|
|
@ -26,9 +26,9 @@ RSpec.describe Admin::DomainBlocksController, type: :controller do
|
|||
domain_blocks_attributes: {
|
||||
'0' => { enabled: '1', domain: 'example.com', severity: 'silence' },
|
||||
'1' => { enabled: '0', domain: 'mastodon.social', severity: 'suspend' },
|
||||
'2' => { enabled: '1', domain: 'mastodon.online', severity: 'suspend' }
|
||||
}
|
||||
}
|
||||
'2' => { enabled: '1', domain: 'mastodon.online', severity: 'suspend' },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
expect(DomainBlockWorker).to have_received(:perform_async).exactly(2).times
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue