ordinaryzelig/capybara_minitest_spec — pull request #4 by codebeige (2012-06-05 12:37:44+00:00)
Title: Display actual content in failure message

When doing BDD I find it very useful to see the actual content that failed to match along with the matcher itself. Did a basic implementation pretty much following the "Expected:" compared to "Actual:" pattern in the `must_equal` matcher.

How do you like it? Any suggestions for further improving it?

I was thinking of doing a pretty print for larger documents, but skipped it for the sake of simplicity.