summaryrefslogtreecommitdiff
path: root/help/test/factories.rb
blob: 919882ada11b7eac6368f68fbc445d223aedef26 (plain)
1
2
3
4
5
6
7
8
9
10
FactoryGirl.define do

  factory :ticket do
    title { Faker::Lorem.sentence }
    comments_attributes do
      { "0" => { "body" => Faker::Lorem.sentences } }
    end
  end

end