X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/d65e01982324fa28b03557f3b819328e5c0b724c..b13018cc96899e54b9b952112243068bbe4d1024:/test/helpers/application_helper_test.rb diff --git a/test/helpers/application_helper_test.rb b/test/helpers/application_helper_test.rb index 46c35f950..f9aeb73cc 100644 --- a/test/helpers/application_helper_test.rb +++ b/test/helpers/application_helper_test.rb @@ -7,6 +7,10 @@ class ApplicationHelperTest < ActionView::TestCase I18n.locale = "en" end + def setup + 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"