discourse/plugins/discourse-local-dates
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
..
assets DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
config Update translations (#22904) 2023-08-01 16:05:44 +02:00
lib/discourse_local_dates DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
spec DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
test/javascripts DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
plugin.rb FIX: Hide core plugins from the admin Plugins list (#23328) 2023-08-31 10:01:01 +10:00