diff options
Diffstat (limited to 'help')
| -rw-r--r-- | help/test/factories.rb | 10 | 
1 files changed, 10 insertions, 0 deletions
| 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 | 
