aboutsummaryrefslogtreecommitdiffstats
path: root/spec/tasks
diff options
context:
space:
mode:
authorXinhui2016-11-29 15:09:54 +0100
committerXinhui2016-11-29 15:52:39 +0100
commitbea0f42a318c17878fa99a0adaf3d3e2d2811a06 (patch)
tree51d332b4630e5b1ad9afcdbdc6f1e20bd533275b /spec/tasks
parentac92d7020fe98f43381fc896a5c499e0029c7ac8 (diff)
downloadchouette-core-bea0f42a318c17878fa99a0adaf3d3e2d2811a06.tar.bz2
Refactoring stop_area area_type as enumerize
Diffstat (limited to 'spec/tasks')
-rw-r--r--spec/tasks/reflex_rake_spec.rb2
1 files changed, 1 insertions, 1 deletions
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