#289 new
Thiago Pradi

Better Selection error Message

Reported by Thiago Pradi | September 11th, 2009 @ 12:22 AM

I made a little patch showing a better error message when webrat couldn't find a option in the select box.

The error message will show the options that are available on the select box.

See more: http://github.com/tchandy/webrat/commit/b11fc98927032b4ec4eb85b3231...

Instead of showing:

"The 'February' option was not found in the "month" select box"

it will show:

"The 'February' option was not found in the "month" select box - The Available Options are: January | March"

The patch is attached.

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Ruby Acceptance Testing for Web applications.

Shared Ticket Bins

People watching this ticket

Attachments

Pages