Skip to content

Commit

Permalink
Fix guard reporter support
Browse files Browse the repository at this point in the history
  • Loading branch information
agios committed Feb 22, 2015
1 parent f233c69 commit 8e3a8e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/minitest/minitest_reporter_plugin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def plugin_minitest_reporter_init(options)
reporter.reporters = Minitest::Reporters.reporters + guard_reporter
reporter.reporters.each do |reporter|
reporter.io = options[:io]
reporter.add_defaults(options.merge(:total_count => total_count(options)))
reporter.add_defaults(options.merge(:total_count => total_count(options))) if reporter.respond_to? :add_defaults
end
end
end
Expand Down

0 comments on commit 8e3a8e0

Please sign in to comment.