Module: FormatterOverrides
- Defined in:
- lib/prick/share/init/spec/spec_helper.rb
Overview
Silence most of the output from pending tests. See github.com/rspec/rspec-core/issues/2377
Instance Method Summary collapse
Instance Method Details
#dump_pending(_) ⇒ Object
31 32 |
# File 'lib/prick/share/init/spec/spec_helper.rb', line 31 def dump_pending(_) end |
#example_pending(n) ⇒ Object
24 25 26 27 28 29 |
# File 'lib/prick/share/init/spec/spec_helper.rb', line 24 def example_pending(n) colorizer=::RSpec::Core::Formatters::ConsoleCodes output << current_indentation \ << colorizer.wrap(n.example.description, :pending) \ << "\n" end |