aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2017-06-23 11:14:43 +0200
committerTeddy Wing2017-06-23 11:14:43 +0200
commita96c4bc40b11baf04d95c125aeb53930f64438a3 (patch)
tree8fee75f6a94e0722135b3bc0bb7c188364604ed7
parent5a67b671e6d3bed8ff401d1c83d05a65c976f2aa (diff)
downloadchouette-core-a96c4bc40b11baf04d95c125aeb53930f64438a3.tar.bz2
VehicleJourney spec: Update .departure_time_between name
I renamed `.departure_time_between` to `.where_departure_time_between` in 7bf94bc6e6ce6558252252e68419e89a23213573 but didn't update this spec. Do that now.
-rw-r--r--spec/models/chouette/vehicle_journey_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/chouette/vehicle_journey_spec.rb b/spec/models/chouette/vehicle_journey_spec.rb
index 8f9080b99..5a142d65d 100644
--- a/spec/models/chouette/vehicle_journey_spec.rb
+++ b/spec/models/chouette/vehicle_journey_spec.rb
@@ -351,7 +351,7 @@ describe Chouette::VehicleJourney, :type => :model do
end
end
- describe ".departure_time_between" do
+ describe ".where_departure_time_between" do
it "selects vehicle journeys whose departure times are between the
specified range" do
journey_early = create(