Fixed node functional tests. A couple of changes to the old_node model and node contr...
[rails.git] / app / models / old_node.rb
index d4d9f177575ab3e23b131afd6f93567cbe9fbb09..e7d803044a4bd39ac658681e27ce70bda3156466 100644 (file)
@@ -38,6 +38,7 @@ class OldNode < ActiveRecord::Base
     el1['id'] = self.id.to_s
     el1['lat'] = self.lat.to_s
     el1['lon'] = self.lon.to_s
+    el1['changeset'] = self.changeset.id.to_s
     el1['user'] = self.changeset.user.display_name if self.changeset.user.data_public?
 
     self.tags.each do |k,v|