]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/old_way_controller_test.rb
Pass the user object, rather than the id, for sessions.
[rails.git] / test / controllers / old_way_controller_test.rb
index e5cb752cd88377da9235cd59609f60cf071ea525..8d3bc6955a80f5873cc4082dd7d0cfdc9279a72d 100644 (file)
@@ -46,6 +46,9 @@ class OldWayControllerTest < ActionController::TestCase
   ##
   # check that we can retrieve versions of a way
   def test_version
+    create(:way_tag, :way => current_ways(:visible_way))
+    create(:way_tag, :way => current_ways(:used_way))
+    create(:way_tag, :way => current_ways(:way_with_versions))
     propagate_tags(current_ways(:visible_way), ways(:visible_way))
     propagate_tags(current_ways(:used_way), ways(:used_way))
     propagate_tags(current_ways(:way_with_versions), ways(:way_with_versions_v4))