lib/spec/runner/context_runner.rb in rspec-0.5.6 vs lib/spec/runner/context_runner.rb in rspec-0.5.7
- old
+ new
@@ -18,10 +18,10 @@
context.run_single_spec @single_spec if context.matches?(@single_spec)
@contexts << context
end
def run(exit_when_done)
- @reporter.start number_of_specs
+ @reporter.start(number_of_specs)
@contexts.each do |context|
context.run(@reporter, @dry_run)
end
@reporter.end
failure_count = @reporter.dump