debian-mirror-gitlab/spec/models/label_link_spec.rb
2016-11-03 12:29:30 +05:30

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