discourse/plugins/chat/spec/support
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
..
api/schemas FEATURE: Show unread in sidebar for unread channel threads (#22342) 2023-07-17 13:00:49 +10:00
examples DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
api_schema_matcher.rb DEV: Enable unless cops 2023-02-21 10:30:48 +01:00
chat_service_matcher.rb FEATURE: add grace period for chat edits (#23800) 2023-10-23 16:40:30 +08:00