summary refs log tree commit diff
path: root/gnu/packages/patches/ruby-yard-fix-skip-of-markdown-tests.patch
diff options
context:
space:
mode:
authorBen Woodcroft <donttrustben@gmail.com>2016-11-08 09:39:47 +1000
committerBen Woodcroft <donttrustben@gmail.com>2016-11-11 22:15:37 +1000
commite2bb2e1780ce875cc03cd5cc559f1dbc528d6f8e (patch)
tree7da4ef1a805aa08fedeba9ecc639104fc2562559 /gnu/packages/patches/ruby-yard-fix-skip-of-markdown-tests.patch
parent7c45670b328dcccbbd710b02495bf2f2a8cb78fd (diff)
downloadguix-e2bb2e1780ce875cc03cd5cc559f1dbc528d6f8e.tar.gz
gnu: ruby-yard: Update to 0.9.5-1.d816482a.
* gnu/packages/ruby.scm (ruby-yard): Update to 0.9.5-1.d816482a.
[source]: Update source URL.
[arguments]: Remove unneeded substitutions.  Change test target.
* gnu/packages/patches/ruby-yard-fix-skip-of-markdown-tests.patch (New
file)
* gnu/local.mk (dist_patch_DATA): Add it.
Diffstat (limited to 'gnu/packages/patches/ruby-yard-fix-skip-of-markdown-tests.patch')
-rw-r--r--gnu/packages/patches/ruby-yard-fix-skip-of-markdown-tests.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/packages/patches/ruby-yard-fix-skip-of-markdown-tests.patch b/gnu/packages/patches/ruby-yard-fix-skip-of-markdown-tests.patch
new file mode 100644
index 0000000000..f592f5cd51
--- /dev/null
+++ b/gnu/packages/patches/ruby-yard-fix-skip-of-markdown-tests.patch
@@ -0,0 +1,17 @@
+The tests currently fail due to use of 'skip' rather than 'pending' to skip a
+test usually not skipped by upstream.  This patch has been proposed upstream
+at https://github.com/lsegal/yard/pull/1033
+
+diff --git a/spec/templates/helpers/html_helper_spec.rb b/spec/templates/helpers/html_helper_spec.rb
+index 84624c3..9c4fc2b 100644
+--- a/spec/templates/helpers/html_helper_spec.rb
++++ b/spec/templates/helpers/html_helper_spec.rb
+@@ -184,7 +184,7 @@ describe YARD::Templates::Helpers::HtmlHelper do
+     it "creates tables (markdown specific)" do
+       log.enter_level(Logger::FATAL) do
+         unless markup_class(:markdown).to_s == "RedcarpetCompat"
+-          skip "This test depends on a markdown engine that supports tables"
++          pending "This test depends on a markdown engine that supports tables"
+         end
+       end
+