summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-07-30 13:32:16 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2015-07-30 13:32:16 +0200
commit6c1a756768bcf9370d104c2532077e62253f05e3 (patch)
tree83198c22ddb75a088fd9c867201e23e8f4e98e7b /app
parent2baa407cd537b5c7b135e70e0968d3328a893f64 (diff)
downloadgitlab-ci-6c1a756768bcf9370d104c2532077e62253f05e3.tar.gz
Fix specs
Diffstat (limited to 'app')
-rw-r--r--app/models/project.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/project.rb b/app/models/project.rb
index 1b98e19..b4a3ffc 100644
--- a/app/models/project.rb
+++ b/app/models/project.rb
@@ -27,7 +27,6 @@
class Project < ActiveRecord::Base
include ProjectStatus
- include CurrentSettings
has_many :commits, dependent: :destroy
has_many :builds, through: :commits, dependent: :destroy
@@ -62,6 +61,8 @@ class Project < ActiveRecord::Base
before_validation :set_default_values
class << self
+ include CurrentSettings
+
def base_build_script
<<-eos
git submodule update --init