X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d65e01982324fa28b03557f3b819328e5c0b724c..965fb0b3ae7c89ae46d606147811674d646b6acb:/test/helpers/application_helper_test.rb?ds=sidebyside 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"