Add steps for finding fields with errors #162

merged 2 commits into from Sep 11, 2011


None yet

2 participants


I've added two Web steps that we often use:

the "$field" field should have the error "$error_message"
the "$field" field should have no error

It works with Test::Unit and RSpec, and also handles formtastic.

@aslakhellesoy aslakhellesoy merged commit 0f294ab into cucumber:master Sep 11, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment