rosa-build/spec/factories/comments.rb

9 lines
214 B
Ruby
Raw Normal View History

2012-01-30 20:39:34 +00:00
# -*- encoding : utf-8 -*-
FactoryGirl.define do
factory :comment do
body { FactoryGirl.generate(:string) }
association :user, :factory => :user
association :commentable, :factory => :issue
end
end