This project is archived and is in readonly mode.

Changeset [0c956443964a20cbcc122e2d8c429b0cbb121828] by Pat Nakajima

February 13th, 2009 @ 08:37 AM

Changed scaffold generated controller tests to use #to_param.

Before, the generated controller tests were calling #id, which can change over time, making for brittle tests.

Signed-off-by: Michael Koziarski michael@koziarski.com [#1913 state:committed] http://github.com/rails/rails/co...

Committed by Pat Nakajima

  • M railties/lib/rails_generator/generators/components/scaffold/templates/functional_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>