gitlab-org--gitlab-foss/spec/models/label_link_spec.rb
Dmitriy Zaporozhets 03654a6abf
Label and LabelLink models for implementing own GitLab labels
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-07-29 17:10:15 +03:00

9 lines
188 B
Ruby

require 'spec_helper'
describe LabelLink do
let(:label) { create(:label_link) }
it { label.should be_valid }
it { should belong_to(:label) }
it { should belong_to(:target) }
end