Fix remaining Rails/WhereExists cop violations, regenerate todo (#28892)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user