6e161d3e75
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. |
||
---|---|---|
.. | ||
auto_channel_user_removal_spec.rb | ||
custom_api_key_scopes_spec.rb | ||
outgoing_web_hooks_spec.rb | ||
plugin_api_spec.rb | ||
post_chat_quote_spec.rb | ||
thread_replies_count_cache_accuracy_spec.rb |