Consistent verb forms
This commit is contained in:
@@ -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>")
|
||||
|
||||
Reference in New Issue
Block a user