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