2012-01-30 20:39:34 +00:00
|
|
|
# -*- encoding : utf-8 -*-
|
2012-03-29 21:34:22 +01:00
|
|
|
FactoryGirl.define do
|
|
|
|
factory :comment do
|
|
|
|
body { FactoryGirl.generate(:string) }
|
|
|
|
association :user, :factory => :user
|
|
|
|
association :commentable, :factory => :issue
|
|
|
|
end
|
2011-12-29 11:16:54 +00:00
|
|
|
end
|