collab/factories/project_factory.rb
2010-03-04 17:42:09 -05:00

5 lines
99 B
Ruby

require 'factory_girl'
Factory.define :project do |f|
f.sequence(:name) {|n| "project #{n}"}
end