* Refactoring Spam Handler There's considerable repeated logic between checking spam for an article and spam for a comment and user. This attempts to send things through channels that are similar and close in organization. * Fixing broken spec * Fixing spec around recent user * Update app/models/reaction.rb Co-authored-by: Michael Kohl <citizen428@forem.com> * Update app/models/reaction.rb Co-authored-by: Michael Kohl <citizen428@forem.com> * Consolidating new user query logic Prior to this commit there were two separate queries around new user logic. With this commit, we're changing the logic to repurpose a site wide setting. * Generalizing a previously specific message * Fixing method name As part of a recommended refactor, I extracted a method, then renamed it. I failed to account for that renaming. This commit fixes that. Co-authored-by: Michael Kohl <citizen428@forem.com> |
||
|---|---|---|
| .. | ||
| application_decorator_spec.rb | ||
| article_decorator_spec.rb | ||
| comment_decorator_spec.rb | ||
| listing_decorator_spec.rb | ||
| mention_decorator_spec.rb | ||
| notification_decorator_spec.rb | ||
| organization_decorator_spec.rb | ||
| podcast_episode_decorator_spec.rb | ||
| sponsorship_decorator_spec.rb | ||
| user_decorator_spec.rb | ||