]> git.openstreetmap.org Git - rails.git/blobdiff - test/helpers/browse_helper_test.rb
Merge remote-tracking branch 'upstream/pull/2918' into master
[rails.git] / test / helpers / browse_helper_test.rb
index 4f05d5f7acf39f341789e7c72dd591dae425c13d..bc597596f5e46e532e48fb77ceb688ce59d63d6c 100644 (file)
@@ -132,6 +132,8 @@ class BrowseHelperTest < ActionView::TestCase
     assert_includes tags, %w[shop gift]
   end
 
+  private
+
   def add_old_tags_selection(old_node)
     { "building" => "yes",
       "shop" => "gift",
@@ -151,4 +153,8 @@ class BrowseHelperTest < ActionView::TestCase
       create(:node_tag, :node => node, :k => key, :v => value)
     end
   end
+
+  def preferred_languages
+    Locale.list(I18n.locale)
+  end
 end