test/cli/commands/test_prune.rb in nanoc-3.6.9 vs test/cli/commands/test_prune.rb in nanoc-3.6.10
- old
+ new
@@ -92,9 +92,13 @@
end
end
def test_run_with_symlink_to_output_dir
skip_unless_have_symlink
+ if defined?(JRUBY_VERSION) && JRUBY_VERSION == '1.7.11'
+ skip "JRuby 1.7.11 has buggy File.find behavior (see https://github.com/jruby/jruby/issues/1647)"
+ end
+
with_site do |site|
# Set output dir
FileUtils.rm_rf('output')
FileUtils.mkdir_p('output-real')
File.symlink('output-real', 'output')