diff --git a/src/spectator/formatting/components/summary_block.cr b/src/spectator/formatting/components/stats.cr similarity index 90% rename from src/spectator/formatting/components/summary_block.cr rename to src/spectator/formatting/components/stats.cr index 8dc2c94..29b1d5c 100644 --- a/src/spectator/formatting/components/summary_block.cr +++ b/src/spectator/formatting/components/stats.cr @@ -3,8 +3,8 @@ require "./runtime" require "./totals" module Spectator::Formatting::Components - # Summary information displayed at the end of a run. - struct SummaryBlock + # Statistics information displayed at the end of a run. + struct Stats def initialize(@report : Report) end diff --git a/src/spectator/formatting/summary.cr b/src/spectator/formatting/summary.cr index de82f01..0364755 100644 --- a/src/spectator/formatting/summary.cr +++ b/src/spectator/formatting/summary.cr @@ -43,7 +43,7 @@ module Spectator::Formatting # Invoked after testing completes with summarized information from the test suite. # Called after `#dump_failures` and before `#dump_profile`. def dump_summary(notification) - io.puts Components::SummaryBlock.new(notification.report) + io.puts Components::Stats.new(notification.report) end # Invoked after testing completes with profiling information.