[LRUG] Missing tests in Rails upgrade

Graham Ashton graham at effectif.com
Wed Jun 25 10:28:36 PDT 2014


On 25 Jun 2014, at 18:13, George Drummond <georgedrummond at gmail.com> wrote:

> You could have stored a users login (crypted password, salt, email) in a fixture and then had a capybara test to make sure you can access their account. A change in the encryption mechanism would have broken this spec.

Yeah, but would it have been a good idea, from a cost vs benefit perspective?

Let’s all raise our hands if we’ve got such a test...

[keeps hand down]


More information about the Chat mailing list