mirror of
https://github.com/discourse/discourse.git
synced 2024-12-16 07:01:00 +08:00
9 lines
166 B
Ruby
9 lines
166 B
Ruby
|
Fabricator(:badge_type) do
|
||
|
name { sequence(:name) {|i| "Silver #{i}" } }
|
||
|
end
|
||
|
|
||
|
Fabricator(:badge) do
|
||
|
name { sequence(:name) {|i| "Badge #{i}" } }
|
||
|
badge_type
|
||
|
end
|