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

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

  it { is_expected.to belong_to(:line_referential_sync) }
  it { is_expected.to validate_presence_of(:criticity) }
end