[LRUG] Missing tests in Rails upgrade

George Drummond georgedrummond at gmail.com
Wed Jun 25 10:44:10 PDT 2014


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/b5066745/attachment-0003.html>


More information about the Chat mailing list