fix(rubocop): Rails/RedundantActiveRecordAllMethod

This commit is contained in:
Colin Darie 2024-02-05 11:35:01 +01:00
parent 0da2843f26
commit 6ab3fa1cf4
No known key found for this signature in database
GPG key ID: 8C76CADD40253590
7 changed files with 8 additions and 8 deletions

View file

@ -123,7 +123,7 @@ describe Gestionnaires::GroupeGestionnairesController, type: :controller do
it do
subject
expect(GroupeGestionnaire.all.count).to eq(1)
expect(GroupeGestionnaire.count).to eq(1)
expect(response).to redirect_to(gestionnaire_groupe_gestionnaires_path)
end
end