diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-10-14 18:32:44 -0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-10-19 14:58:27 -0200 |
commit | 67314e95ae836365fa1989439a6379aac781a0b4 (patch) | |
tree | 7f364243353cbc8ac311fc54119ad64ec41452b0 /spec/models | |
parent | 297892011330ecdd2fa7cbe47fbc6fd4f3b62171 (diff) | |
download | gitlab-ce-67314e95ae836365fa1989439a6379aac781a0b4.tar.gz |
Add support to group labels prioritization on project level
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/label_priority_spec.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/models/label_priority_spec.rb b/spec/models/label_priority_spec.rb index 5f7fa3aa047..d18c2f7949a 100644 --- a/spec/models/label_priority_spec.rb +++ b/spec/models/label_priority_spec.rb @@ -9,7 +9,6 @@ describe LabelPriority, models: true do describe 'validations' do it { is_expected.to validate_presence_of(:project) } it { is_expected.to validate_presence_of(:label) } - it { is_expected.to validate_presence_of(:priority) } it { is_expected.to validate_numericality_of(:priority).only_integer.is_greater_than_or_equal_to(0) } it 'validates uniqueness of label_id scoped to project_id' do |