diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-09-10 15:52:52 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-09-10 15:52:52 +0200 |
commit | 59c3a3239f338fc48d1a3707c4bd4e4aaa8c03df (patch) | |
tree | 4f67d6b64d75a3f793ed1df9e9679b7ba015a063 /app/models/ci | |
parent | 10b3c85e2c7c3e794a0c79d33b1a7bc2b1b6b7c8 (diff) | |
download | gitlab-ce-59c3a3239f338fc48d1a3707c4bd4e4aaa8c03df.tar.gz |
Fix commit specs
Diffstat (limited to 'app/models/ci')
-rw-r--r-- | app/models/ci/trigger.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/ci/trigger.rb b/app/models/ci/trigger.rb index 84eab91e8ba..fe224b7dc70 100644 --- a/app/models/ci/trigger.rb +++ b/app/models/ci/trigger.rb @@ -13,10 +13,10 @@ module Ci class Trigger < ActiveRecord::Base extend Ci::Model - + acts_as_paranoid - belongs_to :project, class_name: 'Ci::Trigger' + belongs_to :project, class_name: 'Ci::Project' has_many :trigger_requests, dependent: :destroy, class_name: 'Ci::TriggerRequest' validates_presence_of :token |