FactoryGirl.define do factory :training_task do project_id 1 tracker_id 1 subject "MyString" description "MyText" end end