A simple date_select matcher for cucumber with webrat on rails
I was working on my project when I decided to check if a date_select was returning with the same value when the model had errors.
My surprise was that webrat have nothing like that on the webrat_steps.rb, so I decided to scratch my itch. That is pretty simple and could even be improved, but works fine. On your steps definition file add the following:
Done! Now you can use that on you @.feature@ files just like that:
Good luck with your specifications!

