test/helper.rb in nanoc-3.3.6 vs test/helper.rb in nanoc-3.3.7
- old
+ new
@@ -118,12 +118,18 @@
end
# Enter tmp
FileUtils.mkdir_p('tmp')
FileUtils.cd('tmp')
+
+ # Let us get to the raw errors
+ Nanoc::CLI::ErrorHandler.disable
end
def teardown
+ # Restore normal error handling
+ Nanoc::CLI::ErrorHandler.enable
+
# Exit tmp
FileUtils.cd('..')
FileUtils.rm_rf('tmp')
# Go unquiet