Why would you need to generate models with passwords for every spec? Why would you need to generate a password for *any* spec that wasn't specifically about authentication?
It seems like hacking BCrypt is a way to avoid the design problem rather than just taking it on. On Wed, Feb 13, 2013 at 1:22 PM, Boob Marleyy <li...@ruby-forum.com> wrote: > Hi there, > > In a blog post I've seen that it's really possible to speed up some of > the rspec tests by small tweaks. > As far as I understand, it is about BCrypt and the cost of encryption > algorithms. > More information: > http://blog.syncopelabs.co.uk/2012/12/speed-up-rspec-test.html > > Can anyone suggests me more techniques like that one. Because I'm > feeling that my tests are going slow while the size of my project > increases. > > Regards, > Bob > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users