diff options
| author | cedricnjanga | 2017-10-04 23:20:41 +0200 | 
|---|---|---|
| committer | cedricnjanga | 2017-10-04 23:23:00 +0200 | 
| commit | 9a642d186ec8ca9016dba59d925c1bdb079eb23f (patch) | |
| tree | 180007030010d0fdea1b52a7149d53b9ecd27410 /spec/models/line_referential_spec.rb | |
| parent | 458b841fbeed0fee9a1f6db981c3b18f47a84905 (diff) | |
| download | chouette-core-9a642d186ec8ca9016dba59d925c1bdb079eb23f.tar.bz2 | |
Refs 4517 Add some modification to the two modules to add methods to list the sorted transport modes and submodes
Diffstat (limited to 'spec/models/line_referential_spec.rb')
| -rw-r--r-- | spec/models/line_referential_spec.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/spec/models/line_referential_spec.rb b/spec/models/line_referential_spec.rb index c156a3d5c..8c6cb018b 100644 --- a/spec/models/line_referential_spec.rb +++ b/spec/models/line_referential_spec.rb @@ -12,7 +12,7 @@ RSpec.describe LineReferential, :type => :model do    describe "#transport_modes" do      it 'returns a list of all transport modes' do -      expect(FactoryGirl.create(:line_referential).class.transport_modes).to match_array(StifTransportModeEnumerations.transport_mode.options.map(&:first) ) +      expect(FactoryGirl.create(:line_referential).class.transport_modes).to match_array(StifTransportModeEnumerations.transport_modes )      end    end  end | 
