@ -142,6 +142,10 @@ def create_work_packages_from_table table, project
type_attributes[:type] = Type.where(name: type_attributes[:type].to_s).first
end
if type_attributes.has_key? "author"
User.current = type_attributes['author']
FactoryGirl.create(:work_package, type_attributes.merge(:project_id => project.id))