test/helper.rb in nanoc-4.0.1 vs test/helper.rb in nanoc-4.0.2
- old
+ new
@@ -260,9 +260,13 @@
end
def skip_unless_symlinks_supported
skip 'Symlinks are not supported by Ruby on Windows' unless symlinks_supported?
end
+
+ def root_dir
+ File.absolute_path(File.dirname(__FILE__) + '/..')
+ end
end
class Nanoc::TestCase < Minitest::Test
include Nanoc::TestHelpers
end