This project is archived and is in readonly mode.

#325 ✓resolved
Gabe da Silveira

Add assert_query method to AR test_helper

Reported by Gabe da Silveira | June 3rd, 2008 @ 10:01 PM

Added a assert_query method that supplements assert_queries so that you can make assertions about the actual contents of queries in addition to the count.

This is essential functionality for me to write a test showing how #109 clobbered my original patch, and I think could be more widely useful in the future.

Comments and changes to this ticket

Create your profile

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

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Referenced by

Pages