aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models/chouette/objectid/stif_netex_spec.rb
blob: 1d361ca8642272b7975b11d3911132fef3190e9a (plain)
1
2
3
4
5
6
7
8
9
10
require 'spec_helper'

describe Chouette::Objectid::StifNetex, :type => :model do
  subject { Chouette::Objectid::StifNetex.new(object_type: 'Route', local_id: '13') }
  it { should validate_presence_of :provider_id }
  it { should validate_presence_of :object_type }
  it { should validate_presence_of :local_id }
  it { should validate_presence_of :creation_id }
  it { is_expected.to be_valid }
end