Yesterday, after upgrading Shoulda to 2.10.0, I had the bad surprise of having undefined methods for my tests. Especially, should_respond_to_xml has purely disappear from the macros.
If, like me, you don't want to change your tests (because they make sense, of course), simple create a file in RAILS_ROOT/test/shoulda_macros and put this gist into it : http://gist.github.com/74287
Posted by
sivarg
comments (0)
Posted by
sivarg
comments (0)
A must-have if you're using git, and especially through command line, put this in your ~/.gitconfig :
[color]This will put some (very) useful colors in diffs, status, and branches.
diff = auto
status = auto
branch = auto
This is particulary useful when using git status, git log -p and git diff.