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

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

Build instead create in label_link model spec
Build instead create in label_link model spec
