mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 10:58:31 -05:00
8 lines
166 B
Ruby
8 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
|