0
0
Fork 0

Autofix Rubocop Style/TrailingCommaInHashLiteral (#23693)

This commit is contained in:
Nick Schonning 2023-02-18 09:33:41 -05:00 committed by GitHub
parent de4b8224c0
commit 5069769cbe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 61 additions and 89 deletions

View file

@ -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

View file

@ -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