]> git.openstreetmap.org Git - rails.git/blobdiff - test/helpers/browse_helper_test.rb
Preload traces for the selected points
[rails.git] / test / helpers / browse_helper_test.rb
index 7141cda6038747661a7eff929e71e54dd72a2168..bc597596f5e46e532e48fb77ceb688ce59d63d6c 100644 (file)
@@ -132,6 +132,8 @@ class BrowseHelperTest < ActionView::TestCase
     assert_includes tags, %w[shop gift]
   end
 
     assert_includes tags, %w[shop gift]
   end
 
+  private
+
   def add_old_tags_selection(old_node)
     { "building" => "yes",
       "shop" => "gift",
   def add_old_tags_selection(old_node)
     { "building" => "yes",
       "shop" => "gift",
@@ -152,9 +154,7 @@ class BrowseHelperTest < ActionView::TestCase
     end
   end
 
     end
   end
 
-  private
-
-  def current_user
-    nil
+  def preferred_languages
+    Locale.list(I18n.locale)
   end
 end
   end
 end