[rspec-users] Testing arbitrary SQL

Rodrigo Alvarez Fernández papipo at gmail.com
Mon Aug 27 13:54:03 EDT 2007


I would like to know how would you test a method in a model that uses
complex a SQL query that joins several tables in order to make a

I suppose that I need fixtures, although my approach with rspec is to
avoid fixtures and isolate model specs, but none of both seems
possible in this case. Is there another way than fixtures?


More information about the rspec-users mailing list