This project is archived and is in readonly mode.
Changeset [0c956443964a20cbcc122e2d8c429b0cbb121828] by Pat Nakajima
Revision 0c956443964a20cbcc122e2d8c429b0cbb121828,
committed 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...
1 changed file
-
M
railties/lib/rails_generator/generators/components/scaffold/templates/functional_test.rb