diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-08-31 18:28:29 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-09-03 23:49:10 +0900 |
commit | 07f7a01b4da02533c417fa636f004fedf3c4c661 (patch) | |
tree | 4437591a427c5e1edf9792dc5e89d4f1d11cfd92 /app/models/ci | |
parent | d3bf01608013eac24764c1dacd51f8b841dd9bf1 (diff) | |
download | gitlab-ce-07f7a01b4da02533c417fa636f004fedf3c4c661.tar.gz |
Improve spec. Add validation for accel_level on runner.
Diffstat (limited to 'app/models/ci')
-rw-r--r-- | app/models/ci/runner.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/ci/runner.rb b/app/models/ci/runner.rb index f202f08b151..b1798084787 100644 --- a/app/models/ci/runner.rb +++ b/app/models/ci/runner.rb @@ -35,6 +35,7 @@ module Ci end validate :tag_constraints + validates :access_level, presence: true acts_as_taggable |