diff options
| author | Edouard Maffert | 2016-09-06 17:54:47 +0200 | 
|---|---|---|
| committer | Edouard Maffert | 2016-09-06 17:54:47 +0200 | 
| commit | 165202ba666686f341c6112d833b4a16e32a41e0 (patch) | |
| tree | 0088206a2763d1910411761e712a9f999f38021b /spec/models/vehicle_translation_spec.rb | |
| parent | 6a64a5e77e0fc7478c961175622fe8c940e91042 (diff) | |
| download | chouette-core-165202ba666686f341c6112d833b4a16e32a41e0.tar.bz2 | |
associate companies controller to line_referential and fix specs
Diffstat (limited to 'spec/models/vehicle_translation_spec.rb')
| -rw-r--r-- | spec/models/vehicle_translation_spec.rb | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/models/vehicle_translation_spec.rb b/spec/models/vehicle_translation_spec.rb index 7a02eaf94..9864c18cc 100644 --- a/spec/models/vehicle_translation_spec.rb +++ b/spec/models/vehicle_translation_spec.rb @@ -3,11 +3,13 @@ require 'spec_helper'  describe VehicleTranslation, :type => :model do    let!(:company){ create(:company )}    let!(:journey_pattern){create(:journey_pattern)} +  # To fix : need to comment :company => company +  # after adding company to apartment excluded models    let!(:vehicle_journey){ create(:vehicle_journey,                                    :objectid => "dummy",                                    :journey_pattern => journey_pattern,                                    :route => journey_pattern.route, -                                  :company => company, +                                  # :company => company,                                    :transport_mode => Chouette::TransportMode.new("metro"),                                    :published_journey_name => "dummy"                                    )}  | 
