Uncomment but skip tests for known issues

This commit is contained in:
Dan Rice 2017-03-19 14:13:26 -04:00
parent 6fbec08e09
commit b50456d04d

View file

@ -45,10 +45,11 @@ class RenderingHelperTest < ActionView::TestCase
end end
test "http link (with double hyphens)" do test "http link (with double hyphens)" do
# not implemented, see issue #2056 skip("see issue #2056")
# actual = render_text("http://foo.bar/foo--bar")
# expected = '<p><a target="_blank" href="http://foo.bar/foo--bar">http://foo.bar/foo--bar</a></p>' actual = render_text("http://foo.bar/foo--bar")
# assert_equal(expected, actual) expected = '<p><a target="_blank" href="http://foo.bar/foo--bar">http://foo.bar/foo--bar</a></p>'
assert_equal(expected, actual)
end end
test "textile http link" do test "textile http link" do
@ -58,10 +59,11 @@ class RenderingHelperTest < ActionView::TestCase
end end
test "textile http link (in new window)" do test "textile http link (in new window)" do
# not implemented, see issue #2066 skip("see issue #2066")
# actual = render_text('A link to "GitHub":http://github.com/.')
# expected = '<p>A link to <a target="_blank" href="http://github.com/">GitHub</a>.</p>' actual = render_text('A link to "GitHub":http://github.com/.')
# assert_equal(expected, actual) expected = '<p>A link to <a target="_blank" href="http://github.com/">GitHub</a>.</p>'
assert_equal(expected, actual)
end end
test "url with slash in query string" do test "url with slash in query string" do