I've written a patch to replace #id calls with #to_param in the scaffold generated controller tests:
#1913 Use #to_param in generated controller tests. - Ruby on Rails - rails
Is anybody averse to this change? #to_param falls back to #id if it's not explicitly defined, and using it in the generated steps gives people the freedom to refactor with fewer unrelated breakages.
Pat