#372 open
Tim Haines

Bad error message when using have_tag with integer

Reported by Tim Haines | April 10th, 2008 @ 04:32 AM | in No-Milestone-Assigned

With:

response.should have_tag(".game", 30)

Error message shows:

Spec::Expectations::ExpectationNotMetError: Expected at least 30 elements matching ".game", found 40.

It should show:

Spec::Expectations::ExpectationNotMetError: Expected 30 elements matching ".game", found 40.

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

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

Behaviour Driven Development for Ruby.

Shared Ticket Bins

People watching this ticket