Permalink
Browse files

Output the name of the class explicitly in SpecReporter

This solves a problem when running through a DRb server such as spork of
outputing #<DRb::DRbUnknown:0x007ff87e126708> instead of the intended class name.
  • Loading branch information...
1 parent bb34ab9 commit 75091307a3e7996fd58f7e006ac61ba3007db3ad @cehoffman cehoffman committed Oct 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/minitest/reporters/spec_reporter.rb
@@ -32,7 +32,7 @@ def after_suites(suites, type)
end
def before_suite(suite)
- puts suite
+ puts suite.name
end
def after_suite(suite)

0 comments on commit 7509130

Please sign in to comment.