RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

How I test Rails validations?

A new article How I test Rails validations?.

Comments

Thanks for sharing :)

You should checkout shoulda-matchers they will help you save some time with some validation tests.edelpero - February 25, 2014 14:19
ValidAtribute does exactly the type of tests you are running: https://github.com/bcardarella/valid_attributebcardarella - February 25, 2014 16:06
shoulda-matchers + 1 :)PikachuEXE - February 26, 2014 02:22

Post a Comment

Comment abilities for non registered users are currently deactivated, pending time to add a proper CAPTCHA to solve the escalating spam problem. Sorry!