rspec/rspec-rails — pull request #804 by dpogue (2013-08-09 18:30:50+00:00)
Title: Change some version checks to use ActiveRecord.

Trying to use ActiveRecord fixtures in my tests for a gem that uses ActiveRecord, but doesn't depend on all of Rails. Currently rspec-rails makes some checks based on `::Rails::VERSION`.

This change uses `::ActiveRecord::VERSION` for those checks related to ActiveRecord fixtures, allowing fixtures to be used without including Rails.