debian-mirror-gitlab/spec/models/label_link_spec.rb
2017-09-10 17:25:29 +05:30

8 lines
183 B
Ruby

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