Skip to content

Commit

Permalink
Fix duration format
Browse files Browse the repository at this point in the history
  • Loading branch information
Tonkpils committed Nov 1, 2013
1 parent 711ab07 commit 4ec52f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rspec/pride.rb
Expand Up @@ -32,7 +32,7 @@ def example_pending example
def dump_summary duration, example_count, failure_count, pending_count
dump_profile if profile_examples? && failure_count == 0
icing = 'Fabulous tests'.split(//).map { |x| rainbow x }.join
output.print "\n\n#{icing} in #{duration} seconds\n" +
output.print "\n\n#{icing} in #{format_duration(duration)}\n" +
"#{example_count} examples, #{failure_count} failures, #{pending_count} pending\n\n"
end

Expand Down

0 comments on commit 4ec52f0

Please sign in to comment.