discourse/plugins/chat/spec/services/actions
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
..
create_memberships_for_auto_join_spec.rb DEV: moves logic from job to a service (#22691) 2023-07-27 10:25:41 +02:00
publish_and_follow_direct_message_channel_spec.rb DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
reset_user_last_read_channel_message_spec.rb DEV: Add last_message_id to channel and thread (#22488) 2023-07-13 10:28:11 +10:00
reset_user_last_read_thread_message_spec.rb