2014-07-29 10:10:15 -04:00
|
|
|
require 'spec_helper'
|
|
|
|
|
2015-12-09 04:50:51 -05:00
|
|
|
describe LabelLink, models: true do
|
2014-07-29 10:10:15 -04:00
|
|
|
let(:label) { create(:label_link) }
|
2015-02-12 13:17:35 -05:00
|
|
|
it { expect(label).to be_valid }
|
2014-07-29 10:10:15 -04:00
|
|
|
|
2015-02-12 13:17:35 -05:00
|
|
|
it { is_expected.to belong_to(:label) }
|
|
|
|
it { is_expected.to belong_to(:target) }
|
2014-07-29 10:10:15 -04:00
|
|
|
end
|