Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-10-14 22:12:07 +0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-10-19 19:58:27 +0300
commit297892011330ecdd2fa7cbe47fbc6fd4f3b62171 (patch)
tree6cbbb21eae4f3fa3d28b33599a0ea87fbf0f34ec /spec/models/label_spec.rb
parentde9d3915d249a59e65226f6dd2ebe1f50a47306e (diff)
Add LabelPriority model
Diffstat (limited to 'spec/models/label_spec.rb')
-rw-r--r--spec/models/label_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/models/label_spec.rb b/spec/models/label_spec.rb
index c6e1ea19987..4af0fb6afa9 100644
--- a/spec/models/label_spec.rb
+++ b/spec/models/label_spec.rb
@@ -10,6 +10,7 @@ describe Label, models: true do
it { is_expected.to have_many(:issues).through(:label_links).source(:target) }
it { is_expected.to have_many(:label_links).dependent(:destroy) }
it { is_expected.to have_many(:lists).dependent(:destroy) }
+ it { is_expected.to have_many(:priorities).class_name('LabelPriority') }
end
describe 'validation' do