docbrown/spec/workers/notifications
Julianna Tetreault e8183189a7
Add welcome thread welcome notification (#6221) [deploy]
* Add Welcome Thread Broadcast to generator.rb

* Add welcome trait to broadcasts.rb

* Add additional tests around welcome_broadcasts:
- ensure that the correct Broadcast is sent
- ensure that a User only receives a single Notification
- ensure that only certain Users receieve the Notification

* Refactor and remove unncessary code from generator.rb and generator_spec.rb

* Refactor generator_spec and eagerly load welcome_thread_comment to get spec passing

* Initialize user in place of receiver_id in generator.rb

* Add before action to make generator_spec more readable

* Add latest_published_thread method to generator.rb

  * Update generator.rb to be reusable with latest_published_thread
  * Update generator_spec to use welcome tags for Article obj
  * Create mascot_account using let to reduce User creation in spec

* Adjust expectation for a User who should not receive a notification
2020-03-19 18:57:32 +01:00
..
mention_worker_spec.rb Change MentionJob to MentionWorker and move to sidekiq (#5312) [deploy] 2020-01-02 07:57:08 -05:00
milestone_worker_spec.rb Change Notifications::MilestoneJob to Notifications::MilestoneWorker and move to sidekiq (#5454) [deploy] 2020-01-15 13:21:56 -05:00
moderation_notification_worker_spec.rb Skip moderation notification if the user is the moderator (#6200) 2020-02-20 14:09:43 -05:00
new_badge_achievement_worker_spec.rb use new_badge_achievement_worker instead of active job (#5358) [deploy] 2020-01-07 08:16:17 -05:00
new_follower_worker_spec.rb Create new NewFollowerWorker and start sending jobs to it (#5556) [deploy] 2020-01-17 15:08:50 -05:00
new_reaction_worker_spec.rb Fixed rubocop issues (#5506) 2020-01-14 09:45:26 -06:00
notifiable_action_worker_spec.rb Replace Notifications::NotifiableActionJob with Notifications::NotifiableActionWorker for Sidekiq (#5588) [deploy] 2020-01-22 09:40:55 -05:00
remove_all_worker_spec.rb Change Notifications::RemoveAllJob to Notifications::RemoveAllWorker and move to sidekiq (#5451) 2020-01-15 12:34:12 -05:00
tag_adjustment_notification_worker_spec.rb Move Notifications::TagAdjustmentNotificationJob to Sidekiq (#5909) [deploy] 2020-02-05 09:52:21 -08:00
update_worker_spec.rb Change Notifications::UpdateJob to Notifications::UpdateWorker and move to sidekiq (#5689) [deploy] 2020-01-28 12:43:50 -05:00
welcome_notification_worker_spec.rb Add welcome thread welcome notification (#6221) [deploy] 2020-03-19 18:57:32 +01:00