test/helpers/test_capturing.rb in nanoc-4.4.4 vs test/helpers/test_capturing.rb in nanoc-4.4.5
- old
+ new
@@ -10,11 +10,16 @@
def view_context_for(item)
Nanoc::ViewContext.new(
reps: item_rep_repo_for(item),
items: :__irrelevant__,
dependency_tracker: :__irrelevant__,
- compiler: :__irrelevant__,
+ compilation_context: :__irrelevant__,
)
+ end
+
+ def before
+ super
+ Nanoc::CLI::ErrorHandler.enable
end
def test_dependencies
with_site do |_site|
# Prepare