Consistent verb forms

This commit is contained in:
Jorge Manrubia
2025-06-03 02:53:03 +02:00
parent 76a3564c28
commit e2939e846c
+3 -3
View File
@@ -1,7 +1,7 @@
require "test_helper"
class HtmlHelperTest < ActionView::TestCase
test "converts URLs into anchor tags" do
test "convert URLs into anchor tags" do
assert_equal_html \
%(<p>Check this: <a href="https://example.com" rel="noreferrer">https://example.com</a></p>),
format_html("<p>Check this: https://example.com</p>")
@@ -10,7 +10,7 @@ class HtmlHelperTest < ActionView::TestCase
format_html("<p>Check this: https://example.com/</p>")
end
test "does not include punctuation in URL autolinking" do
test "don't' include punctuation in URL autolinking" do
assert_equal_html \
%(<p>Check this: <a href="https://example.com" rel="noreferrer">https://example.com</a>!</p>),
format_html("<p>Check this: https://example.com!</p>")
@@ -37,7 +37,7 @@ class HtmlHelperTest < ActionView::TestCase
format_html("<p>Check this: <a href=\"https://example.com\">https://example.com</a></p>")
end
test "converts email addresses into mailto links" do
test "convert email addresses into mailto links" do
assert_equal_html \
%(<p>Contact us at <a href="mailto:support@example.com">support@example.com</a></p>),
format_html("<p>Contact us at support@example.com</p>")