1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Added related Nokogiri issue link to tests that fail with unknown encoding ASCII-8BIT.

This commit is contained in:
Timm 2013-08-13 21:25:55 +02:00
parent 63e0fa7d8f
commit 5a14dbf521
2 changed files with 6 additions and 6 deletions

View file

@ -2130,8 +2130,8 @@ class DateHelperTest < ActionView::TestCase
end end
def test_time_select_with_html_options_within_fields_for def test_time_select_with_html_options_within_fields_for
skip "Pending. Output error: 'unknown encoding ASCII-8BIT' makes Loofah return an empty string" skip "Pending. Output error: 'unknown encoding ASCII-8BIT' makes Loofah return an empty string. Related: https://github.com/sparklemotion/nokogiri/issues/553"
@post = Post.new @post = Post.new
@post.written_on = Time.local(2004, 6, 15, 15, 16, 35) @post.written_on = Time.local(2004, 6, 15, 15, 16, 35)
@ -2369,7 +2369,7 @@ class DateHelperTest < ActionView::TestCase
end end
def test_datetime_select_with_html_options_within_fields_for def test_datetime_select_with_html_options_within_fields_for
skip "Pending. Output error: 'unknown encoding ASCII-8BIT' makes Loofah return an empty string" skip "Pending. Output error: 'unknown encoding ASCII-8BIT' makes Loofah return an empty string. Related: https://github.com/sparklemotion/nokogiri/issues/553"
@post = Post.new @post = Post.new
@post.updated_at = Time.local(2004, 6, 15, 16, 35) @post.updated_at = Time.local(2004, 6, 15, 16, 35)
@ -2621,7 +2621,7 @@ class DateHelperTest < ActionView::TestCase
end end
def test_datetime_select_within_fields_for_with_options_index def test_datetime_select_within_fields_for_with_options_index
skip "Pending. Output error: 'unknown encoding ASCII-8BIT' makes Loofah return an empty string" skip "Pending. Output error: 'unknown encoding ASCII-8BIT' makes Loofah return an empty string. Related: https://github.com/sparklemotion/nokogiri/issues/553"
@post = Post.new @post = Post.new
@post.updated_at = Time.local(2004, 6, 15, 16, 35) @post.updated_at = Time.local(2004, 6, 15, 16, 35)
id = 456 id = 456

View file

@ -2855,8 +2855,8 @@ class FormHelperTest < ActionView::TestCase
end end
def test_fields_for_with_labelled_builder def test_fields_for_with_labelled_builder
skip "Pending. I think that there's an output error: 'unknown encoding ASCII-8BIT' in here, which makes Loofah return an empty string" skip "Pending. I think that there's an output error: 'unknown encoding ASCII-8BIT' in here, which makes Loofah return an empty string. Related: https://github.com/sparklemotion/nokogiri/issues/553"
output_buffer = fields_for(:post, @post, builder: LabelledFormBuilder) do |f| output_buffer = fields_for(:post, @post, builder: LabelledFormBuilder) do |f|
concat f.text_field(:title) concat f.text_field(:title)
concat f.text_area(:body) concat f.text_area(:body)