BigW Consortium Gitlab

label_link_spec.rb 222 Bytes
Newer Older
1 2
require 'spec_helper'

Douwe Maan committed
3
describe LabelLink, models: true do
4
  let(:label) { create(:label_link) }
5
  it { expect(label).to be_valid }
6

7 8
  it { is_expected.to belong_to(:label) }
  it { is_expected.to belong_to(:target) }
9
end