This project is archived and is in readonly mode.
Add assert_query method to AR test_helper
-
Pratik
- State changed from new to incomplete
- Assigned user set to Pratik
Two issues :
- I think the name is a bit confusing with assert_queries. Could you please rename it to assert_executes or anything better you can think of ( and doesnt sound like assert_queries )
- It'd be nice to use this feature in any of the existing tests to a) Improve existing tests and b) test this feature itself.
Thanks.
-
Tarmo Tänav
- Tag set to activerecord, enhancement, patch
Renamed assert_query to assert_sql, test in the patch for #602 Quoting issues in AR's association preload
-
Repository
- State changed from incomplete to resolved
(from [cd9b24286a90111a08002e0da753198c5fb2432a]) Add assert_sql helper method to check for specific SQL output in Active Record test suite. [#325 state:resolved]
Signed-off-by: Pratik Naik
-
Repository
(from [97fa8547b2d3cf069a45fff76ecf5f0ce598fad1]) Add assert_sql helper method to check for specific SQL output in Active Record test suite. [#325 state:resolved]
Signed-off-by: Pratik Naik
