discourse/plugins/chat/spec/jobs/regular/chat
Daniel Waterworth 6e161d3e75
DEV: Allow fab! without block (#24314)
The most common thing that we do with fab! is:

    fab!(:thing) { Fabricate(:thing) }

This commit adds a shorthand for this which is just simply:

    fab!(:thing)

i.e. If you omit the block, then, by default, you'll get a `Fabricate`d object using the fabricator of the same name.
2023-11-09 16:47:59 -06:00
..
auto_join_channel_batch_spec.rb DEV: moves logic from job to a service (#22691) 2023-07-27 10:25:41 +02:00
auto_join_channel_memberships_spec.rb FEATURE: Auto-remove users without permission from channel (#20344) 2023-03-22 10:19:59 +10:00
channel_archive_spec.rb DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
channel_delete_spec.rb DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
delete_user_messages_spec.rb DEV: Update the rubocop-discourse gem 2023-06-26 11:41:52 +02:00
kick_users_from_channel_spec.rb FEATURE: Auto-remove users without permission from channel (#20344) 2023-03-22 10:19:59 +10:00
notify_mentioned_spec.rb DEV: Remove experimental site setting for chat threads (#22720) 2023-07-26 12:46:23 +02:00
notify_watching_spec.rb DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
process_message_spec.rb PERF: cook message in background (#24227) 2023-11-06 15:45:30 +01:00
send_message_notifications_spec.rb DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
update_channel_user_count_spec.rb