josevalim/inherited_resources — pull request #287 by prijutme4ty (2013-05-21 05:01:42+00:00)
Title: Fixes tests which failed due to absence of ActiveRecord in tests.

Made it possible to test in existence or absence of `ActiveRecord::DeprecatedFinders`

Before this patch some of my tests failed due to check (`ActiveRecord.const_defined?(:DeprecatedFinders)`) of deprecated finders existence in `BaseHelpers#collection`.
Now one can explicitly set whether he wants to test in existence or absence of deprecated finders.
Now all tests doesn't use deprecated finders (and if turn it on they fail because appropriate methods were not defined). Probably it's wise to write also tests in case that deprecated finders defined.