diff --git a/spec/models/group_spec.rb b/spec/models/group_spec.rb index 23ccc1ca7b3..ee3faf189b2 100644 --- a/spec/models/group_spec.rb +++ b/spec/models/group_spec.rb @@ -622,9 +622,9 @@ describe Group do it 'updates group user count' do expect { - group.bulk_add([user.id, admin.id]) - group.reload - }.to change { group.user_count }.by(2) + group.bulk_add([user.id, admin.id]) + group.reload + }.to change { group.user_count }.by(2) end end