X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/ae4c00da8cd87b77f08ff011b0d61ea6851c9f13..396f2e28dd27d514f7882c3918103b12764038de:/test/helpers/application_helper_test.rb diff --git a/test/helpers/application_helper_test.rb b/test/helpers/application_helper_test.rb index 0cb1b5ad9..720113e65 100644 --- a/test/helpers/application_helper_test.rb +++ b/test/helpers/application_helper_test.rb @@ -10,7 +10,7 @@ class ApplicationHelperTest < ActionView::TestCase end def test_linkify - %w(http://example.com/test ftp://example.com/test https://example.com/test).each do |link| + %w[http://example.com/test ftp://example.com/test https://example.com/test].each do |link| text = "Test #{link} is made into a link" html = linkify(text) @@ -22,7 +22,7 @@ class ApplicationHelperTest < ActionView::TestCase assert_dom_equal "Test #{link} is made into a link", html end - %w(test@example.com mailto:test@example.com).each do |link| + %w[test@example.com mailto:test@example.com].each do |link| text = "Test #{link} is not made into a link" html = linkify(text)