Comments on: rails captcha and testing using mock objects https://fromdelhi.com/2006/07/21/rails-captcha-and-testing-using-mock-objects/ Tue, 19 Sep 2006 22:23:15 +0000 hourly 1 https://wordpress.org/?v=5.3.21 By: Tore Darell https://fromdelhi.com/2006/07/21/rails-captcha-and-testing-using-mock-objects/#comment-157 Tue, 19 Sep 2006 22:23:15 +0000 http://www.fromdelhi.com/2006/07/21/rails-captcha-and-testing-using-mock-objects/#comment-157 Hi, just wanted to let you (and others reading this) that I’ve updated the plugin so that it will now only give validation errors when not in test mode. This behaviour can be turned off in config/captcha.yml. There’s a few other updates too, such as a new type of challenge, the question challenge, which is the same as is used right here on this site.

]]>
By: Serge https://fromdelhi.com/2006/07/21/rails-captcha-and-testing-using-mock-objects/#comment-156 Tue, 22 Aug 2006 14:47:46 +0000 http://www.fromdelhi.com/2006/07/21/rails-captcha-and-testing-using-mock-objects/#comment-156 Hi,

>so, Sur, my co-programmer, hacked the plugin a little to add random text >and improved images.

Are you willing to share the enhacements you made with regards to the quality of the image?

Thanks,
Serge

]]>
By: Tore Darell https://fromdelhi.com/2006/07/21/rails-captcha-and-testing-using-mock-objects/#comment-155 Sun, 23 Jul 2006 16:31:51 +0000 http://www.fromdelhi.com/2006/07/21/rails-captcha-and-testing-using-mock-objects/#comment-155 Agh, trying again.. My math isn’t that good it seems 😉

That’s some nice mocking there. I’ll certainly start using mocks more in my own tests as well.

FYI, I’ve moved the plugin to a new repository which will contain all my plugins (only two at the moment) here: http://svn.2750flesk.com/plugins/trunk/validates_captcha/

The old repo will still work, but it won’t see any updates.. Also note that I’ve changed some names (that would break your mock) in the new version if you choose to use that..

]]>