diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-07-30 13:32:16 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-07-30 13:32:16 +0200 |
commit | 6c1a756768bcf9370d104c2532077e62253f05e3 (patch) | |
tree | 83198c22ddb75a088fd9c867201e23e8f4e98e7b /app/models | |
parent | 2baa407cd537b5c7b135e70e0968d3328a893f64 (diff) | |
download | gitlab-ci-6c1a756768bcf9370d104c2532077e62253f05e3.tar.gz |
Fix specs
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/project.rb | 3 |
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 |