24
I'm trying to test the length of a zip code attribute to ensure its 5 characters long. Right now I'm testing to make sure its not blank and then too short with 4 characters and too long with 6 characters.
Is there a way to test it being exactly 5 characters? So far I've found nothing online or in the rspec book.