summaryrefslogtreecommitdiff
path: root/help/test/factories.rb
blob: 5b38952ddabe5468ffe004ae9e73ec1a353c30d6 (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.join(" ") } }
    end
  end

end