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_join_channel_batch_spec.rb | ||
auto_join_channel_memberships_spec.rb | ||
channel_archive_spec.rb | ||
channel_delete_spec.rb | ||
delete_user_messages_spec.rb | ||
kick_users_from_channel_spec.rb | ||
notify_mentioned_spec.rb | ||
notify_watching_spec.rb | ||
process_message_spec.rb | ||
send_message_notifications_spec.rb | ||
update_channel_user_count_spec.rb |