docbrown/spec
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
..
black_box Adjust type tags for RSpec (#4864) 2019-11-20 13:01:30 -05:00
decorators nothing to see here....except maybe reverting a push to master (#8308) 2020-06-05 20:34:21 -05:00
factories UserSubscription backend refactor (#9060) 2020-07-02 12:08:37 -04:00
fixtures Remove inline style from KatexTag template (#8833) 2020-06-23 08:56:01 +02:00
helpers [deploy] Routine Rubocop fixes (#8293) 2020-06-05 18:46:10 -04:00
initializers Adapt dev env to run on a remote box (#8232) 2020-06-18 13:01:49 +02:00
labor Refactor: Remove Unused UserSimilarity Class and Spec (#9030) 2020-06-30 12:39:34 -05:00
lib [deploy] Feature: Setup Admin Area to Update Vault Secrets (#8935) 2020-06-29 15:08:09 -05:00
liquid_tags [deploy] Add Stackery liquid tag (#9063) 2020-07-02 11:59:45 -04:00
mailers [deploy] Use Action Mailer parameterized syntax (#8853) 2020-06-23 13:48:41 -05:00
models UserSubscription backend refactor (#9060) 2020-07-02 12:08:37 -04:00
policies [deploy] Add contexts and permissions to liquid tags (#8917) 2020-06-30 14:53:18 -04:00
queries/internal Limit the Number of API Keys a User Can Have (#7870) 2020-05-15 11:33:02 +02:00
requests UserSubscription backend refactor (#9060) 2020-07-02 12:08:37 -04:00
routing Remove harcoded shop strings (#7319) 2020-04-16 14:51:23 +02:00
serializers/search [deploy] Optimization: Dont Use Redis For Flare Tag IDs, Load Them On Boot (#8987) 2020-06-30 09:48:08 -05:00
services UserSubscription backend refactor (#9060) 2020-07-02 12:08:37 -04:00
support Fix RSS import (#8877) 2020-06-24 10:51:07 -04:00
system [deploy] Allow internal chat channels to be searched by their name (#9020) 2020-06-30 14:43:25 -05:00
tasks [deploy] Create FastlyConfig & refactor params safe list (#7630) 2020-05-01 11:23:48 -04:00
uploaders Some RSpec fixes (#6757) 2020-03-24 13:16:19 -04:00
views Display 'Originally published' for canonical URLs (#8761) 2020-06-18 08:10:47 -04:00
workers Bug Fix: Make FieldTestWorker More Resilient (#8893) 2020-06-24 16:34:55 -04:00
rails_helper.rb Flaky Spec Fix: Make Sure to Allow All Sites After Reset (#9029) 2020-06-30 12:50:38 -05:00
spec_helper.rb Update .simplecov (#8078) 2020-05-27 14:37:21 -04:00