Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add steps for finding fields with errors #162

Merged
merged 2 commits into from
Sep 11, 2011

Conversation

mike-burns
Copy link
Contributor

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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants