diff --git a/test/console.rb b/test/console.rb index 855e88a..7aab3af 100644 --- a/test/console.rb +++ b/test/console.rb @@ -114,7 +114,7 @@ def before super end - def after + def after(error = nil) subject.logger = @original_logger super diff --git a/test/console/logger.rb b/test/console/logger.rb index 96fa628..bdd4eca 100644 --- a/test/console/logger.rb +++ b/test/console/logger.rb @@ -124,7 +124,7 @@ def before super end - def after + def after(error = nil) $DEBUG = @debug $VERBOSE = @verbose super