Class: RSpec::Formatters::VimQuickfix
- Inherits:
-
Core::Formatters::BaseFormatter
- Object
- Core::Formatters::BaseFormatter
- RSpec::Formatters::VimQuickfix
- Defined in:
- lib/rspec-formatters/formatters/vim_quickfix.rb
Instance Method Summary collapse
Instance Method Details
#example_failed(notification) ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/rspec-formatters/formatters/vim_quickfix.rb', line 8 def example_failed notification exception = notification.exception = exception. example = notification.example location = example.location output.puts "#{location}: #{example.example_group.description.strip} " + "#{example.description.strip}: #{.strip}" if location end |