X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/df232ec96f0568c4a8659f73eba13642aed3bd3e..ea59d95f4aad7cafe3a0d0b4d5ef533b0662e365:/test/lib/rich_text_test.rb?ds=sidebyside
diff --git a/test/lib/rich_text_test.rb b/test/lib/rich_text_test.rb
index e1603fb09..80cf0ae37 100644
--- a/test/lib/rich_text_test.rb
+++ b/test/lib/rich_text_test.rb
@@ -8,14 +8,14 @@ class RichTextTest < ActiveSupport::TestCase
assert_html r do
assert_select "a", 1
assert_select "a[href='http://example.com/']", 1
- assert_select "a[rel='nofollow noopener noreferer']", 1
+ assert_select "a[rel='nofollow noopener noreferrer']", 1
end
r = RichText.new("html", "foo bar baz")
assert_html r do
assert_select "a", 1
assert_select "a[href='http://example.com/']", 1
- assert_select "a[rel='nofollow noopener noreferer']", 1
+ assert_select "a[rel='nofollow noopener noreferrer']", 1
end
r = RichText.new("html", "foo example@example.com bar")
@@ -27,7 +27,7 @@ class RichTextTest < ActiveSupport::TestCase
assert_html r do
assert_select "a", 1
assert_select "a[href='mailto:example@example.com']", 1
- assert_select "a[rel='nofollow noopener noreferer']", 1
+ assert_select "a[rel='nofollow noopener noreferrer']", 1
end
r = RichText.new("html", "foo
bar
baz")
@@ -64,28 +64,28 @@ class RichTextTest < ActiveSupport::TestCase
assert_html r do
assert_select "a", 1
assert_select "a[href='http://example.com/']", 1
- assert_select "a[rel='nofollow noopener noreferer']", 1
+ assert_select "a[rel='nofollow noopener noreferrer']", 1
end
r = RichText.new("markdown", "foo [bar](http://example.com/) baz")
assert_html r do
assert_select "a", 1
assert_select "a[href='http://example.com/']", 1
- assert_select "a[rel='nofollow noopener noreferer']", 1
+ assert_select "a[rel='nofollow noopener noreferrer']", 1
end
r = RichText.new("markdown", "foo example@example.com bar")
assert_html r do
assert_select "a", 1
assert_select "a[href='mailto:example@example.com']", 1
- assert_select "a[rel='nofollow noopener noreferer']", 1
+ assert_select "a[rel='nofollow noopener noreferrer']", 1
end
r = RichText.new("markdown", "foo [bar](mailto:example@example.com) bar")
assert_html r do
assert_select "a", 1
assert_select "a[href='mailto:example@example.com']", 1
- assert_select "a[rel='nofollow noopener noreferer']", 1
+ assert_select "a[rel='nofollow noopener noreferrer']", 1
end
r = RichText.new("markdown", "foo ![bar](http://example.com/example.png) bar")
@@ -162,7 +162,7 @@ class RichTextTest < ActiveSupport::TestCase
assert_html r do
assert_select "a", 1
assert_select "a[href='http://example.com/']", 1
- assert_select "a[rel='nofollow noopener noreferer']", 1
+ assert_select "a[rel='nofollow noopener noreferrer']", 1
end
r = RichText.new("text", "foo example@example.com bar")