debian-mirror-gitlab/spec/models/label_link_spec.rb
2020-03-09 13:42:32 +05:30

12 lines
269 B
Ruby

# frozen_string_literal: true
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) }
it_behaves_like 'a BulkInsertSafe model', LabelLink
end