[LRUG] Parameterising a Rails 3 controller mixin

Graham Ashton graham at effectif.com
Tue Oct 4 06:54:52 PDT 2011


On 4 Oct 2011, at 14:53, Andrew Stewart wrote:

> bar could fail if I had messed up my implementation somewhere, e.g. leaving a hard-coded foo lying around.

So change the name, run the one test you do have, then change it back without hard coding it. There's not enough win in that extra test.


More information about the Chat mailing list