Quick Tip: DRY Up Your Model Validations Tests
Sam Sarmad shows how he removed a ton of duplicated test code when testing ActiveModel validations.
Sam Sarmad shows how he removed a ton of duplicated test code when testing ActiveModel validations.
Jesse Herrick shows you Maxitest and how it enhances TDD with Minitest. Maxitest makes your tests a bit more readable and easier to use. Check it out.
Writing tests for your Ruby app helps avoid nasty surprises. Darren Jones shows you how to test using MiniTest.