Fix remaining Rails/WhereExists
cop violations, regenerate todo (#28892)
This commit is contained in:
parent
1a565e4bea
commit
7c9c6c7f80
7 changed files with 7 additions and 22 deletions
|
@ -265,7 +265,7 @@ RSpec.describe ActivityPub::ProcessCollectionService, type: :service do
|
|||
anything
|
||||
)
|
||||
|
||||
expect(Status.where(uri: 'https://example.com/users/bob/fake-status').exists?).to be false
|
||||
expect(Status.exists?(uri: 'https://example.com/users/bob/fake-status')).to be false
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue