aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models/referential_cloning_spec.rb
blob: 30391b53e83a627e5a958c90daac8cd4dff48378 (plain)
1
2
3
4
5
6
7
8
9
10
require 'rails_helper'

RSpec.describe ReferentialCloning, :type => :model do
  it 'should have a valid factory' do
    expect(FactoryGirl.build(:referential_cloning)).to be_valid
  end

  it { should belong_to :source_referential }
  it { should belong_to :target_referential }
end