spec/ratis/timetable_spec.rb in ratis-3.3.6 vs spec/ratis/timetable_spec.rb in ratis-3.3.7
- old
+ new
@@ -7,11 +7,11 @@
config.endpoint = 'http://soap.valleymetro.org/cgi-bin-soap-web-262/soap.cgi'
config.namespace = 'PX_WEB'
end
end
- describe '#where' do
+ describe '#where', vcr: {} do
before do
@today = Time.now.strftime("%m/%d/%Y")
@conditions = {:route_short_name => 'ZERO',
:direction => 'N',
@@ -61,17 +61,17 @@
expect(timetable.route_short_name).to eq('ZERO')
expect(timetable.direction).to eq('N')
expect(timetable.service_type).to eq('Weekday')
expect(timetable.operator).to eq('AP')
- expect(timetable.effective).to eq('07/22/13')
+ expect(timetable.effective).to eq('10/28/13')
stop = timetable.timepoints.first
expect(stop.ratis_stop_id).to eq(0)
expect(stop.atis_stop_id).to eq('3317')
expect(stop.stop_id).to eq('10050')
- expect(stop.description).to eq('CENTRAL AVE & DOBBINS RD')
+ expect(stop.description).to eq('CENTRAL AVE & DOBBINS RD')
expect(stop.area).to eq('Phoenix')
trip = timetable.trips.first
expect(trip.ratis_stop_id).to eq(0)