Autofix Rubocop Style/NestedParenthesizedCalls (#23646)
This commit is contained in:
parent
37914c8757
commit
936204b9ea
2 changed files with 1 additions and 9 deletions
|
@ -148,7 +148,7 @@ RSpec.describe PostStatusService, type: :service do
|
|||
|
||||
expect do
|
||||
subject.call(account, text: '@alice hm, @bob is really annoying lately', allowed_mentions: [mentioned_account.id])
|
||||
end.to raise_error(an_instance_of(PostStatusService::UnexpectedMentionsError).and having_attributes(accounts: [unexpected_mentioned_account]))
|
||||
end.to raise_error(an_instance_of(PostStatusService::UnexpectedMentionsError).and(having_attributes(accounts: [unexpected_mentioned_account])))
|
||||
end
|
||||
|
||||
it 'processes duplicate mentions correctly' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue