mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-18 19:42:32 -05:00
10 lines
191 B
Ruby
10 lines
191 B
Ruby
|
Fabricator(:badge_type) do
|
||
|
name { sequence(:name) {|i| "Silver #{i}" } }
|
||
|
color_hexcode "c0c0c0"
|
||
|
end
|
||
|
|
||
|
Fabricator(:badge) do
|
||
|
name { sequence(:name) {|i| "Badge #{i}" } }
|
||
|
badge_type
|
||
|
end
|