Re: [rspec-users] How to test modules and custom validators

2011-08-04 Thread Craig Demyanovich
I recently wrote this spec for a custom validator. I hope you find it useful. Feedback welcome. Craig ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] How to test modules and custom validators

2011-08-04 Thread David Chelimsky
On Aug 3, 2011, at 11:08 AM, Piter Fcbk wrote: > I'm trying to have most of the important stuff tested and in order to do that > I run in front of some stuff I'm not quite sure which is the best way to test > them. > At this time I am having question around how to test modules and the custom >

[rspec-users] How to test modules and custom validators

2011-08-03 Thread Piter Fcbk
I'm trying to have most of the important stuff tested and in order to do that I run in front of some stuff I'm not quite sure which is the best way to test them. At this time I am having question around how to test modules and the custom validators (the typical email format validator for example).