docbrown/spec/workers/users
Jeremy Friesen 93c40a7983
Guarding against missing experiments (#15440)
* Guarding against missing experiments

This is a short-circuit to ensure we don't throw exceptions in the
worker.  In #15240 we introduce an AbExperiment module that we could use
to insulate against FieldTest implementations.

* Update app/workers/users/record_field_test_event_worker.rb

Co-authored-by: Jamie Gaskins <jamie@forem.com>

* Favoring guard condition over coercion

Co-authored-by: Jamie Gaskins <jamie@forem.com>
2021-11-22 16:06:32 -05:00
..
bust_cache_worker_spec.rb Cleanup bust_user (#12066) 2020-12-30 10:07:42 -05:00
delete_worker_spec.rb Create Settings::SMTP (#13943) 2021-06-14 10:29:43 -04:00
follow_worker_spec.rb Migrate Users/FollowJob to Sidekiq (#5403) 2020-01-08 15:03:18 -05:00
merge_sync_worker_spec.rb Ensure records are updated properly after a user merge (#7416) 2020-04-21 14:17:11 -04:00
record_field_test_event_worker_spec.rb Guarding against missing experiments (#15440) 2021-11-22 16:06:32 -05:00
resave_articles_worker_spec.rb Try out parallel Travis builds (#6645) 2020-04-14 10:25:53 -04:00
subscribe_to_mailchimp_newsletter_worker_spec.rb Don't try to subscribe users without emails (#14244) 2021-07-15 10:34:23 -04:00