mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 01:24:14 +08:00
7 lines
162 B
Ruby
7 lines
162 B
Ruby
|
Fabricator(:group_history) do
|
||
|
group
|
||
|
action GroupHistory.actions[:add_user_to_group]
|
||
|
acting_user { Fabricate(:user) }
|
||
|
target_user { Fabricate(:user) }
|
||
|
end
|