docbrown/spec/services/users
Jeremy Friesen 0ef5bc6351
Ensuring we delete podcasts when we banish a user (#18063)
Prior to this commit, we may have left lingering podcast entries that
required manual cleanup.  As a bonus, I also added deleting podcasts
when we delete users.

Closes forem/forem#18041

In addition I adjusted rubocop to not complain about the require method call

```
spec/services/users/delete_spec.rb:1:1: C: \
  Style/TopLevelMethodDefinition: \
  Do not define methods at the top-level. \
  (https://rubystyle.guide#top-level-methods)
require "rails_helper"
^^^^^^^^^^^^^^^^^^^^^^
```
2022-07-12 09:18:06 -04:00
..
approved_liquid_tags_spec.rb Move method #approved_liquid_tags to user service (#10663) 2020-10-07 12:04:08 +07:00
create_mascot_account_spec.rb Rename SiteConfig to Settings::General (#13573) 2021-05-21 14:45:37 +02:00
delete_articles_spec.rb Remove discussion locks prior to deleting an article (#14488) 2021-08-12 10:50:01 -04:00
delete_comments_spec.rb Remove Elasticsearch ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ ✂️ (#13606) 2021-05-03 11:09:45 -04:00
delete_podcasts_spec.rb Ensuring we delete podcasts when we banish a user (#18063) 2022-07-12 09:18:06 -04:00
delete_spec.rb Ensuring we delete podcasts when we banish a user (#18063) 2022-07-12 09:18:06 -04:00
profile_image_generator_spec.rb Create profile image generator (#8695) 2020-07-14 21:00:13 -04:00
remove_role_spec.rb Fix app/services' ruby 2.7 kwargs warnings (#13177) 2021-04-01 18:40:50 -04:00
safe_remote_profile_image_url_spec.rb Fix bug where OAuth signups were not pulling in OAuth provider's profile image (#14711) 2021-09-14 22:13:16 -04:00
suggest_for_sidebar_spec.rb Don't suggest author follows for anonymous visitors (#16825) 2022-03-08 11:15:06 -06:00
suggest_recent_spec.rb Change article factory to include a flare tag "discuss" (#13760) 2021-05-14 07:43:39 -05:00
update_spec.rb Profile attribute names should be unique and non-empty (#16396) 2022-04-04 12:14:02 -05:00