Kamrad117/targetprocess-ruby

View on GitHub
lib/target_process/entities/testplan.rb

Summary

Maintainability
A
25 mins
Test Coverage
module TargetProcess
  class Testplan < Base
    has_many :comments
    has_many :messages
    has_many :tag_objects, 'Tag'
    has_many :master_relations, 'Relation'
    has_many :slave_relations, 'Relation'
    has_many :attachments
    has_many :test_cases
    has_many :test_plan_runs
    belongs_to :entity_type
    belongs_to :owner, 'GeneralUser'
    belongs_to :last_commented_user, 'GeneralUser'
    belongs_to :project
  end
end