Commit Graph

3 Commits

Author SHA1 Message Date
Akira Matsuda 0c354253a3 A test for AR::Base.inherited
Ensure that Kaminari does not conflict with other gems that extend the inherited hook
2015-02-11 15:41:33 +09:00
Akira Matsuda d0cb1837a1 refactor AR, DM, mongoid, and mongo_mapper specs
extract model definitions for each ORM under spec/fake_app, and load them only if target ORM is loaded
by this mechanism, all ORMs share a model name "User", and the other specs such as helper specs and request specs will run polymorphically
2012-05-23 12:44:13 +09:00
Grant Hutchins & Sam Obukwelu 6998b5f0f5 Active Record models that were subclassed before Kaminari::ActiveRecordExtension is included pick up the extensions. 2011-05-20 18:17:28 -04:00