diff options
| author | Robert | 2017-10-13 10:13:28 +0200 |
|---|---|---|
| committer | Robert | 2017-10-13 10:13:28 +0200 |
| commit | f4cc0ece7c86f03eac3dcbbdb032b036237df314 (patch) | |
| tree | 7cb0cd4612c28aedf42a96aa5595b6406c29d9e5 /app/models/compliance_check.rb | |
| parent | 5654cd12a17cf04ee3d5a7b3b22c8180605b5cd9 (diff) | |
| download | chouette-core-f4cc0ece7c86f03eac3dcbbdb032b036237df314.tar.bz2 | |
Refs: #4709@0.2h; Fixing illegal value `info` dans ComplianceCheck.criticity4709-compliance-check-criticity-as-string
Diffstat (limited to 'app/models/compliance_check.rb')
| -rw-r--r-- | app/models/compliance_check.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/compliance_check.rb b/app/models/compliance_check.rb index 54ca4e7a0..55f2ae228 100644 --- a/app/models/compliance_check.rb +++ b/app/models/compliance_check.rb @@ -6,7 +6,7 @@ class ComplianceCheck < ActiveRecord::Base belongs_to :compliance_check_set belongs_to :compliance_check_block - enumerize :criticity, in: %i(info warning error), scope: true, default: :warning + enumerize :criticity, in: %i(warning error), scope: true, default: :warning validates :criticity, presence: true validates :name, presence: true validates :code, presence: true |
