Dear David!

I use rpec for the several years and almost in every prject I apply the 
following 
patch. Today I thought that maybe you will accept it so that others may have 
it's benefit.

diff --git 
a/vendor/plugins/rspec/lib/spec/runner/formatter/base_text_formatter.rb 
b/vendor/plugins/rspec/lib/spec/runner/formatter/base_text_formatter.rb
index 4f8b9b7..895dcbd 100644
--- a/vendor/plugins/rspec/lib/spec/runner/formatter/base_text_formatter.rb
+++ b/vendor/plugins/rspec/lib/spec/runner/formatter/base_text_formatter.rb
@@ -52,7 +52,7 @@ module Spec
         def dump_summary(duration, example_count, failure_count, pending_count)
           return if dry_run?
           @output.puts
-          @output.puts "Finished in #{duration} seconds"
+          @output.puts "Finished in #{duration} seconds at 
#{Time.now.strftime('%Y.%m.%d %H:%M:%S')}"
           @output.puts

           summary = "#{example_count} example#{'s' unless example_count == 1}, 
#{failure_count} failure#{'s' unless failure_count == 1}"


Thank you in advance.
-- 

With best regards,
   Dmitri Koulikoff

mailto:d...@koulikoff.ru
phone: +7-495-5052185
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to