Class: DebugExceptionsJson::RSpec::Formatter
- Inherits:
-
RSpec::Core::Formatters::ProgressFormatter
- Object
- RSpec::Core::Formatters::ProgressFormatter
- DebugExceptionsJson::RSpec::Formatter
- Defined in:
- lib/debug_exceptions_json/rspec/formatter.rb
Constant Summary collapse
- RSPEC3 =
For RSpec2 compatibility
::RSpec::Core::Version::STRING.split('.').first == "3"
Instance Method Summary collapse
Instance Method Details
#dump_failures(notification = nil) ⇒ Object
14 15 16 17 18 19 20 |
# File 'lib/debug_exceptions_json/rspec/formatter.rb', line 14 def dump_failures(notification = nil) if RSPEC3 dump_failures_3(notification) else dump_failures_2 end end |