diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-09-10 15:47:15 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-09-10 15:47:15 +0200 |
commit | 10b3c85e2c7c3e794a0c79d33b1a7bc2b1b6b7c8 (patch) | |
tree | 8075ea96f4cb13683bf3a9736e3f684781e95e4b /app/models/ci/web_hook.rb | |
parent | 381180bc27b7c4f0d54ca4a1599ad5d857a2086e (diff) | |
download | gitlab-ce-10b3c85e2c7c3e794a0c79d33b1a7bc2b1b6b7c8.tar.gz |
Fix some issues with ci models specs
Diffstat (limited to 'app/models/ci/web_hook.rb')
-rw-r--r-- | app/models/ci/web_hook.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/ci/web_hook.rb b/app/models/ci/web_hook.rb index 4b8c65a1a65..8f03b0625da 100644 --- a/app/models/ci/web_hook.rb +++ b/app/models/ci/web_hook.rb @@ -12,10 +12,10 @@ module Ci class WebHook < ActiveRecord::Base extend Ci::Model - + include HTTParty - belongs_to :project, class_name: 'Ci::WebHook' + belongs_to :project, class_name: 'Ci::Project' # HTTParty timeout default_timeout 10 |