discourse/spec/fabricators/group_history_fabricator.rb

7 lines
162 B
Ruby
Raw Normal View History

2016-12-11 10:36:15 -05:00
Fabricator(:group_history) do
group
action GroupHistory.actions[:add_user_to_group]
acting_user { Fabricate(:user) }
target_user { Fabricate(:user) }
end