aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert2018-01-10 08:17:22 +0100
committerAlban Peignier2018-01-10 17:47:10 +0100
commitab6a4624b7adeb3f4304eec65f4b42cdcc27b0dc (patch)
treee1b3132d3fea0eb05012abb7e0a98cbc207e2b20
parenta7fe8da0bc230ee7f5d3173454fc07b596970d13 (diff)
downloadchouette-core-ab6a4624b7adeb3f4304eec65f4b42cdcc27b0dc.tar.bz2
Refs: #5505@1h; Small things found in s/models/chouette/vj_spec during investigation of failures
-rw-r--r--spec/models/chouette/vehicle_journey_spec.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/models/chouette/vehicle_journey_spec.rb b/spec/models/chouette/vehicle_journey_spec.rb
index eb2a31794..3ec2387e5 100644
--- a/spec/models/chouette/vehicle_journey_spec.rb
+++ b/spec/models/chouette/vehicle_journey_spec.rb
@@ -399,8 +399,7 @@ describe Chouette::VehicleJourney, :type => :model do
end
describe ".where_departure_time_between" do
- it "selects vehicle journeys whose departure times are between the
- specified range" do
+ it "selects vehicle journeys whose departure times are between the specified range" do
journey_early = create(
:vehicle_journey,
stop_departure_time: '02:00:00'
@@ -415,7 +414,7 @@ describe Chouette::VehicleJourney, :type => :model do
journey_pattern: journey_pattern,
stop_departure_time: '03:00:00'
)
- journey_late = create(
+ create(
:vehicle_journey,
route: route,
journey_pattern: journey_pattern,