rails/rails — pull request #9583 by choudhuryanupam (2013-03-06 11:13:51+00:00)
Title: Used setup to avoid repetition

Added a setup block to initialize an object to use in the test case. This setup eliminates repetition.