collab/factories/project_factory.rb

5 lines
99 B
Ruby
Raw Normal View History

2010-03-04 22:42:09 +00:00
require 'factory_girl'
Factory.define :project do |f|
f.sequence(:name) {|n| "project #{n}"}
end