gitlab-org--gitlab-foss/spec/models/label_link_spec.rb
2016-10-11 10:58:46 +05:00

8 lines
197 B
Ruby

require 'spec_helper'
describe LabelLink, models: true do
it { expect(build(:label_link)).to be_valid }
it { is_expected.to belong_to(:label) }
it { is_expected.to belong_to(:target) }
end