Commit Graph

4 Commits

Author SHA1 Message Date
Akira Matsuda e79935c2d5 num_pages => total_pages 2012-05-25 15:31:53 +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
Akira Matsuda 854d04af4b [AR, DM, Mongoid, MongoMapper].each {|orm| run orm specs only if orm is loaded } 2012-05-23 12:38:30 +09:00
Akira Matsuda 53bae068e8 categorize model specs 2012-05-23 12:35:38 +09:00