discourse/spec/fabricators/badge_fabricator.rb

9 lines
168 B
Ruby
Raw Normal View History

2014-03-05 06:52:20 -06:00
Fabricator(:badge_type) do
2017-07-27 20:20:09 -05:00
name { sequence(:name) { |i| "Silver #{i}" } }
2014-03-05 06:52:20 -06:00
end
Fabricator(:badge) do
2017-07-27 20:20:09 -05:00
name { sequence(:name) { |i| "Badge #{i}" } }
2014-03-05 06:52:20 -06:00
badge_type
end