aboutsummaryrefslogtreecommitdiffstats
path: root/spec/tasks
diff options
context:
space:
mode:
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 3a0ce0632..ff9a555ef 100644
--- a/spec/tasks/reflex_rake_spec.rb
+++ b/spec/tasks/reflex_rake_spec.rb
@@ -29,7 +29,7 @@ describe 'reflex:sync' do
end
it 'should map xml data to StopArea attribute' do
- stop_area = Chouette::StopArea.find_by(name: 'First stopPlace')
+ stop_area = Chouette::StopArea.find_by(objectid: 'FR:77153:LDA:69325:STIF')
expect(stop_area.city_name).to eq 'Dammartin-en-Goƫle'
expect(stop_area.zip_code).to eq '77153'
expect(stop_area.area_type).to eq 'StopPlace'