rails/rails — pull request #6799 by kennyj (2012-06-20 18:39:04+00:00)
Title: Refactor testcase codes. It's repeated.

Sorry, it's tiny refactor again.

The codes are repeated, and I love DRY.