It would be really neat if rspec-given could display the diffs when two strings are compared in a Then or And. So for example instead of this:
Then expression failed at [...]
expected: "Hello how are you today!"
to equal: "Helio how are you today!"
false <- str1 == str2
"Hello how are you today!" <- str1
"Helio how are you today!" <- str2
It would be really neat if rspec-given could display the diffs when two strings are compared in a
Then
orAnd
. So for example instead of this:It would display the strings diffed next to/below each other and maybe even color coded according to differences. E.g. the example at the bottom here is quite nice: http://drasticcode.com/2010/11/26/the-easiest-way-to-diff-two-strings-in-ruby