[rspec-users] Model specs and ActiveRecord::TestCase

Elliot Winkler elliot.winkler at gmail.com
Wed Oct 14 14:01:23 EDT 2009

Is there any reason why the ModelExampleGroup in rspec-rails inherits 
from ActiveSupport::TestCase and not ActiveRecord::TestCase? I noticed 
this because I tried to use assert_queries in one of my specs and 
obviously it told me it didn't know what that was. Not a huge problem, I 
can always add assert_queries (or an equivalent) manually, I was just 

-- Elliot

More information about the rspec-users mailing list