aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stif/reflex_synchronization.rb
diff options
context:
space:
mode:
authorRobertDober2017-04-11 15:32:22 +0200
committerRobertDober2017-04-11 17:23:38 +0200
commit3228431fc7e96354df280ade84eb7c7c9f5d9c7f (patch)
tree153406e438691ca99d70e60ae20ef3d69ebc957b /lib/stif/reflex_synchronization.rb
parent7b9370d10a2d67b83610b8cf8b876734972c2ee9 (diff)
downloadchouette-core-3228431fc7e96354df280ade84eb7c7c9f5d9c7f.tar.bz2
Some tests -> pending, other tests fixed; Refs #2070
Diffstat (limited to 'lib/stif/reflex_synchronization.rb')
-rw-r--r--lib/stif/reflex_synchronization.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/stif/reflex_synchronization.rb b/lib/stif/reflex_synchronization.rb
index fee54f4c1..a7dda7e30 100644
--- a/lib/stif/reflex_synchronization.rb
+++ b/lib/stif/reflex_synchronization.rb
@@ -153,6 +153,7 @@ module Stif
:city_name => 'Town',
:stif_type => 'OBJECT_STATUS'
}.each do |k, v| stop[k] = entry[v] end
+ # TODO: use stop.update_attributes instead of the above
if entry['gml:pos']
stop['longitude'] = entry['gml:pos'][:lng]