diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-10-14 22:12:07 +0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-10-19 19:58:27 +0300 |
commit | 297892011330ecdd2fa7cbe47fbc6fd4f3b62171 (patch) | |
tree | 6cbbb21eae4f3fa3d28b33599a0ea87fbf0f34ec /spec/models/label_spec.rb | |
parent | de9d3915d249a59e65226f6dd2ebe1f50a47306e (diff) |
Add LabelPriority model
Diffstat (limited to 'spec/models/label_spec.rb')
-rw-r--r-- | spec/models/label_spec.rb | 1 |
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 |