From bea0f42a318c17878fa99a0adaf3d3e2d2811a06 Mon Sep 17 00:00:00 2001 From: Xinhui Date: Tue, 29 Nov 2016 15:09:54 +0100 Subject: Refactoring stop_area area_type as enumerize --- spec/tasks/reflex_rake_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/tasks') diff --git a/spec/tasks/reflex_rake_spec.rb b/spec/tasks/reflex_rake_spec.rb index 7a27b49fc..ab1aefc7d 100644 --- a/spec/tasks/reflex_rake_spec.rb +++ b/spec/tasks/reflex_rake_spec.rb @@ -31,7 +31,7 @@ describe 'reflex:sync' do it 'should map xml data to StopArea attribute' do stop_area = Chouette::StopArea.find_by(objectid: 'FR:77153:LDA:69325:STIF') expect(stop_area.zip_code).to eq '77153' - expect(stop_area.area_type).to eq 'StopPlace' + expect(stop_area.area_type).to eq 'lda' end context 'On next sync' do -- cgit v1.2.3