Thanks, Phil. That’s exactly what I was looking for. I never knew that 
additional configuration objects existed!

> On Oct 10, 2020, at 4:47 PM, Phil Pirozhkov <[email protected]> wrote:
> 
> I think you're looking for this option:
> 
> ```
> RSpec.configure do |config|
>   config.expect_with :rspec do |expectations|
>     expectations.max_formatted_output_length = 1000
>   end
> end
> ```
> 
> On Sun, Oct 11, 2020 at 2:39 AM Jack Royal-Gordon <[email protected] 
> <mailto:[email protected]>> wrote:
> I am comparing some complex array/hash structures for “eq”, and I would like 
> to display the **entire** object if the comparison fails, without replacing 
> the middle with ellipses to shorten the output. I know some work was done in 
> this area in Issue #2535 in rspec-core, but looking at configuration the only 
> setting I see that looks like it **might** have an effect is 
> #max_displayed_failure_line_count, and setting that to 100 had no effect on 
> the output.
> 
> If there is solution within the realm of custom matchers, I could do that 
> since I am using a custom matcher I wrote in order to “customize" the rules 
> of “eq” on these structures.
> 
> If the solution is something that must be applied to specific example groups, 
> that would also be more than acceptable.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "rspec" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:rspec%[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/rspec/E8BD2E74-83B5-4381-BA73-A949B876CFE4%40pobox.com
>  
> <https://groups.google.com/d/msgid/rspec/E8BD2E74-83B5-4381-BA73-A949B876CFE4%40pobox.com>.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "rspec" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/rspec/CAAk5Ok8uJ%2B4fuveh1yY0gQ0qMO79%3DwCE5GwLZYp627S%3D5sZkXQ%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/rspec/CAAk5Ok8uJ%2B4fuveh1yY0gQ0qMO79%3DwCE5GwLZYp627S%3D5sZkXQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rspec/B6534EF8-1979-4413-85EA-E0F0F7A235EE%40pobox.com.

Reply via email to