Class: RSpec::Support::ObjectFormatter
- Inherits:
-
Object
- Object
- RSpec::Support::ObjectFormatter
- Defined in:
- lib/specdiff/rspec.rb
Overview
This stops rspec from truncating strings w/ ellipsis, as well as making the “inspect” output consistent with specdiff’s. github.com/rspec/rspec-support/blob/v3.13.1/lib/rspec/support/object_formatter.rb
Instance Method Summary collapse
Instance Method Details
#format(object) ⇒ Object
22 23 24 |
# File 'lib/specdiff/rspec.rb', line 22 def format(object) ::Specdiff.diff_inspect(object) end |