From b50456d04df249cdb63ac58ee86bbbb10c625c9c Mon Sep 17 00:00:00 2001 From: Dan Rice Date: Sun, 19 Mar 2017 14:13:26 -0400 Subject: [PATCH] Uncomment but skip tests for known issues --- test/helpers/rendering_helper_test.rb | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/test/helpers/rendering_helper_test.rb b/test/helpers/rendering_helper_test.rb index 5e558736..1f291020 100644 --- a/test/helpers/rendering_helper_test.rb +++ b/test/helpers/rendering_helper_test.rb @@ -45,10 +45,11 @@ class RenderingHelperTest < ActionView::TestCase end test "http link (with double hyphens)" do - # not implemented, see issue #2056 - # actual = render_text("http://foo.bar/foo--bar") - # expected = '

http://foo.bar/foo--bar

' - # assert_equal(expected, actual) + skip("see issue #2056") + + actual = render_text("http://foo.bar/foo--bar") + expected = '

http://foo.bar/foo--bar

' + assert_equal(expected, actual) end test "textile http link" do @@ -58,10 +59,11 @@ class RenderingHelperTest < ActionView::TestCase end test "textile http link (in new window)" do - # not implemented, see issue #2066 - # actual = render_text('A link to "GitHub":http://github.com/.') - # expected = '

A link to GitHub.

' - # assert_equal(expected, actual) + skip("see issue #2066") + + actual = render_text('A link to "GitHub":http://github.com/.') + expected = '

A link to GitHub.

' + assert_equal(expected, actual) end test "url with slash in query string" do