From 632a31cf48f41b3d0ea52f3b741407d65ab64139 Mon Sep 17 00:00:00 2001 From: Azul Date: Mon, 14 Jan 2013 16:30:32 +0100 Subject: forgot to include the factory for tickets --- help/test/factories.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 help/test/factories.rb diff --git a/help/test/factories.rb b/help/test/factories.rb new file mode 100644 index 0000000..919882a --- /dev/null +++ b/help/test/factories.rb @@ -0,0 +1,10 @@ +FactoryGirl.define do + + factory :ticket do + title { Faker::Lorem.sentence } + comments_attributes do + { "0" => { "body" => Faker::Lorem.sentences } } + end + end + +end -- cgit v1.2.3