Add and apply Rails/RedundantActiveRecordAllMethod
This rule was introduced in rubocop-rails 2.21.0.
This commit is contained in:
@@ -24,6 +24,6 @@ describe Poll::BoothAssignment do
|
||||
|
||||
assignment.destroy!
|
||||
|
||||
expect(Poll::Shift.all.count).to eq(0)
|
||||
expect(Poll::Shift.count).to eq 0
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user