rubygem-asciidoctor/patches/asciidoctor-disable-use-of-pending.patch

30 lines
1.2 KiB
Diff
Raw Normal View History

2013-01-19 22:53:29 +00:00
# disables use of pending statement in the test suite The required gem,
# pending, is not packaged in Fedora and since the statement is merely a task
# note, it's safe to disable it's usage for the purpose of packaging.
2012-12-19 11:03:43 +00:00
diff --git a/test/attributes_test.rb b/test/attributes_test.rb
2013-01-19 22:40:50 +00:00
index 3e15eac..b683667 100644
2012-12-19 11:03:43 +00:00
--- a/test/attributes_test.rb
+++ b/test/attributes_test.rb
2013-01-19 22:40:50 +00:00
@@ -177,7 +177,7 @@ To use {gem_name}, the first thing to do is to import it in your Ruby source fil
end
test 'renders attribute until it is deleted' do
- pending 'This requires that we consume attributes as the document is being lexed, not up front'
+ #pending 'This requires that we consume attributes as the document is being lexed, not up front'
#output = render_string(":foo: bar\n\nCrossing the {foo}\n\n:foo!:\nBelly up to the {foo}")
# result = Nokogiri::HTML(html)
# assert_match /Crossing the bar/, result.css("p").first.content.strip
2012-12-19 11:03:43 +00:00
diff --git a/test/test_helper.rb b/test/test_helper.rb
2013-01-19 22:40:50 +00:00
index 3b27218..964ff59 100644
2012-12-19 11:03:43 +00:00
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
2013-01-19 22:40:50 +00:00
@@ -10,7 +10,7 @@ rescue LoadError
end
2012-12-19 11:03:43 +00:00
require 'htmlentities'
require 'nokogiri'
-require 'pending'
+#require 'pending'
ENV['SUPPRESS_DEBUG'] ||= 'true'