1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00
kaminari--kaminari/spec/models
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
..
active_record [AR, DM, Mongoid, MongoMapper].each {|orm| run orm specs only if orm is loaded } 2012-05-23 12:38:30 +09:00
data_mapper refactor AR, DM, mongoid, and mongo_mapper specs 2012-05-23 12:44:13 +09:00
mongo_mapper refactor AR, DM, mongoid, and mongo_mapper specs 2012-05-23 12:44:13 +09:00
mongoid refactor AR, DM, mongoid, and mongo_mapper specs 2012-05-23 12:44:13 +09:00
array_spec.rb it is not required to require by full path. Let's trust the LOAD_PATH 2011-12-11 01:15:18 +09:00