• Timothy Andrew's avatar
    Implement review comments from @DouweM for !10467. · b8816e28
    Timothy Andrew authored
    1. Have `MigrateToGhostUser` be a service rather than a mixed-in module, to keep
       things explicit. Specs testing the behavior of this class are moved into a
       separate service spec file.
    
    2. Add a `user.reported_abuse_reports` association to make the
       `migrate_abuse_reports` method more consistent with the other `migrate_`
       methods.
    b8816e28
user_spec.rb 56.1 KB