You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered: