diff options
Diffstat (limited to 'help/test/factories.rb')
-rw-r--r-- | help/test/factories.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/help/test/factories.rb b/help/test/factories.rb index 5368ce6..bce3af1 100644 --- a/help/test/factories.rb +++ b/help/test/factories.rb @@ -9,6 +9,10 @@ FactoryGirl.define do { "0" => { "body" => Faker::Lorem.sentences.join(" ") } } end end + + factory :ticket_with_creator do + created_by { FactoryGirl.create(:user).id } + end end end |