]> git.openstreetmap.org Git - rails.git/blobdiff - test/helpers/application_helper_test.rb
Add a few more tests
[rails.git] / test / helpers / application_helper_test.rb
index 04517c2b55b4a30ab3385af27c7438b637428427..4dce09c1c46fdab644bd6b2a387613254b53fc43 100644 (file)
@@ -1,4 +1,4 @@
-require 'test_helper'
+require "test_helper"
 
 class ApplicationHelperTest < ActionView::TestCase
   fixtures :users, :user_roles
@@ -7,6 +7,10 @@ class ApplicationHelperTest < ActionView::TestCase
     I18n.locale = "en"
   end
 
+  def teardown
+    I18n.locale = "en"
+  end
+
   def test_linkify
     %w(http://example.com/test ftp://example.com/test https://example.com/test).each do |link|
       text = "Test #{link} is made into a link"