created comments with FactoryGirl

This commit is contained in:
raluka 2015-08-25 14:41:09 +02:00
parent b6d726d40e
commit eab2894fad
5 changed files with 17 additions and 3 deletions

View file

@ -47,6 +47,7 @@ FactoryGirl.define do
event.difficulty_level = build(:difficulty_level, conference: event.conference)
event.track = build(:track, conference: event.conference)
event.room = build(:room, conference: event.conference)
event.comment_threads << build(:comment, commentable: event)
end
end