Class: RSpec::Core::Formatters::BaseTextFormatter
- Inherits:
-
BaseFormatter
- Object
- BaseFormatter
- RSpec::Core::Formatters::BaseTextFormatter
- Defined in:
- lib/rspec_expectation_count/rspec_expectation_count.rb
Instance Method Summary collapse
Instance Method Details
#dump_summary(*args) ⇒ Object
58 59 60 61 62 63 64 |
# File 'lib/rspec_expectation_count/rspec_expectation_count.rb', line 58 def dump_summary(*args) old_dump_summary(*args) count = ::RSpec::Expectations.expectation_count plural = count == 1 ? '' : 's' output.puts "#{count} expectation#{plural}" output.puts ::RSpec::Expectations.expectation_debug end |
#old_dump_summary ⇒ Object
56 |
# File 'lib/rspec_expectation_count/rspec_expectation_count.rb', line 56 alias_method :old_dump_summary, :dump_summary |