* Add delayed_job_web to dev environment for debugging * Add specs for the current Follow callbacks implementation * Move follower touching to ActiveJob * Spec for the touch followers job * Move Follow#create_chat_channel to ActiveJob and make the job safe * Add ActiveJob to send email notifications about follows * Enqueue SendEmailNotificationJob after the follow is created * Specs to wnsure jobs are enqueued on Follow creation * Make CreateChatChannelJob queue name more specific
6 lines
146 B
Ruby
6 lines
146 B
Ruby
FactoryBot.define do
|
|
factory :follow do
|
|
association :follower, factory: :user
|
|
association :followable, factory: :organization
|
|
end
|
|
end
|