groups.rb 152 Bytes EditWeb IDE 1 2 3 4 5 6 7 FactoryGirl.define do factory :group do sequence(:name) { |n| "group#{n}" } path { name.downcase.gsub(/\s/, '_') } type 'Group' end end