mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 11:33:45 +08:00
9 lines
141 B
Ruby
9 lines
141 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
Fabricator(:user_badge) do
|
||
|
user
|
||
|
badge
|
||
|
granted_at { Time.zone.now }
|
||
|
granted_by(fabricator: :admin)
|
||
|
end
|