summaryrefslogtreecommitdiff
path: root/spec/models/label_priority_spec.rb
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-10-14 18:32:44 -0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-10-19 14:58:27 -0200
commit67314e95ae836365fa1989439a6379aac781a0b4 (patch)
tree7f364243353cbc8ac311fc54119ad64ec41452b0 /spec/models/label_priority_spec.rb
parent297892011330ecdd2fa7cbe47fbc6fd4f3b62171 (diff)
downloadgitlab-ce-67314e95ae836365fa1989439a6379aac781a0b4.tar.gz
Add support to group labels prioritization on project level
Diffstat (limited to 'spec/models/label_priority_spec.rb')
-rw-r--r--spec/models/label_priority_spec.rb1
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