envygeeks/active_record_mocks — pull request #2 by nathanstitt (2014-10-08 03:28:58+00:00)
Title: Add "parent_class" option

My codebase uses a custom base table which all my model's
inherit from. This works, well except when I need to create
tables using active_record_mocks.

Since the created classes directly inherit from ActiveRecord::Base
and thus lack my custom methods, they don't test the same.