[LRUG] Missing tests in Rails upgrade

Graham Ashton graham at effectif.com
Wed Jun 25 12:08:33 PDT 2014


Sure, but I don't have a fixture with an encrypted password encoded within it. Maybe that's the difference? I've not used fixtures by default for years.

George Drummond <georgedrummond at gmail.com> wrote:

>You don't have capybara tests for signup/login/anything?
>
>
>
>On Wed, Jun 25, 2014 at 1:28 PM, Graham Ashton <graham at effectif.com> wrote:
>
>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]
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20140625/a22c5d7a/attachment-0003.html>


More information about the Chat mailing list