metamaps--metamaps/spec/factories/metacodes.rb
2016-02-09 13:30:49 +08:00

7 lines
165 B
Ruby

FactoryGirl.define do
factory :metacode do
sequence(:name) { |n| "Cool Metacode ##{n}" }
icon 'https://images.com/image.png'
color '#cccccc'
end
end