docbrown/spec/factories
Alex 9ee024f9d0
UserSubscription backend refactor (#9060)
* Refactor controller validations to model

* Update specs and move current email validation back

* Refactor #subscribed

* Cleanup UserSubscriptions::Create service

* Refactor service

* Move source inside of call for clarity

* Specs for UserSubscription::Create

* Cleanup spec

* Fix Article spec

* Updated for subscriber_email

* Add comment for explicitness of subscriber_email

* Fix reference in comment...oops!

* I know what I'm doing...sometimes...maybe

* Rename CachChecker - Subscription to IsSubscribed

* Use include vs eq in specs for error messages

* attr_accessor --> attr_reader

* Don't explicitly set nil

* Rename Create service to CreateFromService

* Use errors_as_sentence

* Rename service to CreateFromControllerParams

* Assign Struct to a new constant
2020-07-02 12:08:37 -04:00
..
activesupport_events.rb Routine rubocop fixes (#4924) 2019-11-25 14:13:22 -05:00
ahoy_message.rb [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
api_secrets.rb Listings creation and update API (#4014) 2019-09-24 07:03:52 -07:00
articles.rb UserSubscription backend refactor (#9060) 2020-07-02 12:08:37 -04:00
audit_logs.rb [deploy] Moderator and admin actions log (#6797) 2020-03-26 16:59:24 -05:00
backup_data.rb [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
badge_achievements.rb
badges.rb Ensure model properties in factories are unique (#5190) 2019-12-20 12:21:16 -06:00
banished_users.rb Introduce BanishedUser table (#5589) [deploy] 2020-01-21 17:15:58 -05:00
blocks.rb Update Faker to 2.1.0 (#3652) 2019-08-07 15:59:23 -04:00
broadcasts.rb Add ahoy + welcome notification tracking (#8758) [deploy] 2020-06-18 13:40:14 -07:00
chat_channel_memberships.rb [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
chat_channels.rb Ensure model properties in factories are unique (#5190) 2019-12-20 12:21:16 -06:00
collections.rb Ensure model properties in factories are unique (#5190) 2019-12-20 12:21:16 -06:00
comments.rb [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
credits.rb
data_update_script.rb Document DataUpdateScripts, Add to Deploy Process, Add Development Check (#6068) [deploy] 2020-02-14 11:45:27 -05:00
display_ad_events.rb [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
display_ads.rb [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
doorkeeper_access_grants.rb [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
doorkeeper_access_tokens.rb Update core API endpoints to support access_token (#3644) 2019-08-08 15:55:23 -03:00
doorkeeper_applications.rb Update core API endpoints to support access_token (#3644) 2019-08-08 15:55:23 -03:00
email_authorizations.rb [deploy] Add EmailAuthorization model (#6335) 2020-03-02 12:14:24 -05:00
events.rb Update Faker to 2.1.0 (#3652) 2019-08-07 15:59:23 -04:00
feedback_messages.rb [deploy] Enforce Uniq Abuse Reports from Reporters (#7831) 2020-05-14 09:03:10 -04:00
field_test_memberships.rb Upgrade field_test to 0.3.2 (#7592) 2020-04-30 18:43:30 -04:00
follow.rb
github_issues.rb [deploy] Decouple GitHub authentication from fetching GitHub issues (#7660) 2020-05-04 16:17:16 -04:00
github_repos.rb Ensure model properties in factories are unique (#5190) 2019-12-20 12:21:16 -06:00
html_variants.rb [deploy] Remove sidebar variant from CTA (#8040) 2020-05-23 13:35:43 -04:00
identities.rb Add functionality to remove and recover identity (#3377) 2019-07-03 12:01:16 -04:00
listing_categories.rb [deploy] Rename classified listings (#7910) 2020-05-27 13:35:09 +00:00
listings.rb [deploy] Rename classified listings (#7910) 2020-05-27 13:35:09 +00:00
mentions.rb
messages.rb
note.rb [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
notification_subscriptions.rb [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
notifications.rb Create rake Task to Destroy Old Notifications (#5180) [deploy] 2019-12-26 13:17:34 -06:00
organization_memberships.rb Add organizations to user profile (#5583) [deploy] 2020-01-27 13:31:27 -05:00
organizations.rb Fix rubocop Rails.root.path complaints (#5114) 2019-12-16 12:13:15 -05:00
page_views.rb Pro: add referrers to dashboard and single article stats (#3295) 2019-06-25 13:58:09 -04:00
pages.rb Improve test speed (#3957) [ci skip] 2019-09-12 16:17:20 -04:00
path_redirects.rb [deploy] Add path_redirects table and internal view (#8161) 2020-06-05 10:28:33 -04:00
podcast_episode_rss_items.rb Update Faker to 2.1.0 (#3652) 2019-08-07 15:59:23 -04:00
podcast_episodes.rb Sequence factory podcast episode slugs and guids to ensure uniqueness (#5184) 2019-12-19 19:13:19 -05:00
podcasts.rb Fix rubocop Rails.root.path complaints (#5114) 2019-12-16 12:13:15 -05:00
poll_options.rb [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
poll_skips.rb [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
poll_votes.rb [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
polls.rb [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
profile_pins.rb [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
rating_votes.rb [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
reactions.rb Handle negative reactions on comments (#7805) 2020-05-13 09:27:38 -04:00
response_templates.rb Add response templates model and table (#6615) 2020-03-16 09:52:03 +07:00
search_keywords.rb
sponsorships.rb Sponsorship: add model (step 1) (#3438) 2019-07-10 15:58:37 -04:00
tag_adjustments.rb Mod tooling: add tags via /mod refactor (#5017) 2019-12-13 13:02:45 -05:00
tags.rb Search Tags in Elasticsearch from Classified Listing and Post Creation (#6024) [deploy] 2020-02-17 08:16:45 -05:00
tweets.rb [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
user_blocks.rb [deploy] Finalize deleting user associations (#5624) 2020-01-23 11:29:47 -05:00
user_optional_fields.rb [deploy] Add optional fields to user (#7246) 2020-04-28 15:42:41 -04:00
user_subscription.rb UserSubscription backend refactor (#9060) 2020-07-02 12:08:37 -04:00
users.rb Remove trailing slashes from URLs to improve SEO (#8836) [deploy] 2020-06-22 13:44:58 -07:00
webhook_endpoints.rb Routine rubocop fixes (#4924) 2019-11-25 14:13:22 -05:00