aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/time_tables_controller.rb
diff options
context:
space:
mode:
authorTeddy Wing2017-07-21 15:56:29 +0200
committerTeddy Wing2017-07-21 15:59:53 +0200
commitad269197f5c2c328d480aa5af52fb085d57b6cbc (patch)
treed8799f7bf1cd5f07cc6cd330cfb880679550ede3 /app/controllers/time_tables_controller.rb
parent490c4bba551803f45f5b9a854d10e5f56e4fa480 (diff)
downloadchouette-core-ad269197f5c2c328d480aa5af52fb085d57b6cbc.tar.bz2
VehicleJourneyAtStop spec: Remove unnecessary initial values
I had created an at-stop with nil `arrival_day_offset` and `departure_day_offset` values because that's the kind of object this test is testing, but when I reviewed the code, it occurred to me that since the method takes the offset as an argument, it isn't necessary to provide these attribute values to the factory. Not sure whether it's clearer this way or the way it was before, but I figured since they're not necessary it may be better to remove them. Refs #3597
Diffstat (limited to 'app/controllers/time_tables_controller.rb')
0 files changed, 0 insertions, 0 deletions