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

David Chelimsky dchelimsky at gmail.com
Wed Oct 14 14:18:25 EDT 2009

On Wed, Oct 14, 2009 at 3:01 PM, Elliot Winkler
<elliot.winkler at gmail.com> wrote:
> 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 curious.

Pure oversight. Wanna submit a patch?

> -- Elliot
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

More information about the rspec-users mailing list