When I use assert_select to verify exact number of element matches, I use assert_select ''a'', 5 However the messages (when failing gives) ---------- Expected at least 5 elements matching "a", found 8. ---------- It would be more accurate to change that text to ---------- Expected exactly 5 elements matching "a", found 8. ---------- I have created ticket#4018 Jarl -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.