Class: NcFail
- Inherits:
-
Nc
- Object
- RSpec::Core::Formatters::BaseTextFormatter
- Nc
- NcFail
show all
- Defined in:
- lib/nc_fail.rb
Instance Method Summary
collapse
Methods inherited from Nc
#dump_failures, #dump_pending, #dump_summary, #message, rspec_3?
Instance Method Details
#example_failed(failure) ⇒ Object
14
15
16
17
|
# File 'lib/nc_fail.rb', line 14
def example_failed(failure)
@failed_examples ||= []
@failed_examples << failure
end
|
#say(title, body) ⇒ Object
8
9
10
11
12
|
# File 'lib/nc_fail.rb', line 8
def say(title, body)
@failed_examples ||= []
return if @failed_examples.size <= 0
super
end
|