spec/ratis/next_bus_spec.rb in ratis-3.2.1 vs spec/ratis/next_bus_spec.rb in ratis-3.3.0
- old
+ new
@@ -186,11 +186,11 @@
expect(service.routetype).to eq('B')
expect(service.times).to eq("01:46 PM, 03:46 PM, 04:46 PM, 05:46 PM")
expect(service.direction).to eq('W')
expect(service.servicetype).to eq('W')
expect(service.route).to eq('108')
- expect(service.operator).to eq('AT')
+ expect(service.operator).to eq('FTE')
service = response.services.last
expect(service).to be_a(OpenStruct)
expect(service.status).to eq('N')
@@ -198,10 +198,10 @@
expect(service.routetype).to eq('B')
expect(service.times).to eq("02:46 PM, 06:46 PM")
expect(service.direction).to eq('W')
expect(service.servicetype).to eq('W')
expect(service.route).to eq('108')
- expect(service.operator).to eq('AT')
+ expect(service.operator).to eq('FTE')
end
it "should raise error if datetime condition is not a DateTime or Time" do
lambda {
Ratis::NextBus.where(@conditions.dup.merge(:datetime => '01/01/2013'))