diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-09-06 21:00:34 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-09-06 21:00:34 +0200 |
commit | 632f6ba267bc09a658defc3721d2b52de05cf7e6 (patch) | |
tree | e486d01082cab7ba12cca31831fe6f6dd37f1d88 /app/models/project.rb | |
parent | 5941f3a7e8628e8792c9dbfad07f9b4d6ba7fb2e (diff) | |
download | gitlab-ce-632f6ba267bc09a658defc3721d2b52de05cf7e6.tar.gz |
Add tests to cover all introduced changes
Diffstat (limited to 'app/models/project.rb')
-rw-r--r-- | app/models/project.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project.rb b/app/models/project.rb index 541c950e369..b52b1e9049b 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -1390,7 +1390,7 @@ class Project < ActiveRecord::Base end def has_ci? - @repository.gitlab_ci_yml || @project.auto_devops_enabled? + repository.gitlab_ci_yml || auto_devops_enabled? end def predefined_variables |