• charlieablett's avatar
    Refactor and move SpamService · ee43fc44
    charlieablett authored
    - Rename to SpamCheckService so it's obvious what it does
    - Use `execute` method for consistency with other services
    - Update unit tests
    - move ActiveRecord logic into the model
    - Add unit tests for new SpamLog method
    ee43fc44
spam_check_shared_examples.rb 504 Bytes