debian-mirror-gitlab/spec/models/label_link_spec.rb
2016-06-02 11:05:42 +05:30

10 lines
222 B
Ruby

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