* 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 |
||
|---|---|---|
| .. | ||
| mention_worker_spec.rb | ||
| milestone_worker_spec.rb | ||
| moderation_notification_worker_spec.rb | ||
| new_badge_achievement_worker_spec.rb | ||
| new_follower_worker_spec.rb | ||
| new_reaction_worker_spec.rb | ||
| notifiable_action_worker_spec.rb | ||
| remove_all_worker_spec.rb | ||
| tag_adjustment_notification_worker_spec.rb | ||
| update_worker_spec.rb | ||
| welcome_notification_worker_spec.rb | ||