summaryrefslogtreecommitdiffstats
path: root/features/support/extra_hooks.rb
diff options
context:
space:
mode:
Diffstat (limited to 'features/support/extra_hooks.rb')
-rw-r--r--features/support/extra_hooks.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/features/support/extra_hooks.rb b/features/support/extra_hooks.rb
index 5994458..04526d5 100644
--- a/features/support/extra_hooks.rb
+++ b/features/support/extra_hooks.rb
@@ -133,8 +133,8 @@ module ExtraFormatters
# The pretty formatter with debug logging mixed into its output.
class PrettyDebug < Cucumber::Formatter::Pretty
- def initialize(*args)
- super(*args)
+ def initialize(runtime, io, options)
+ super(runtime, io, options)
$debug_log_fns ||= []
$debug_log_fns << self.method(:debug_log)
end