1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00
Commit graph

9 commits

Author SHA1 Message Date
Whitney Young
0ab86e2204 Removed invalid test.
No other ORM tests for `current_page` to work on the model, and there
is no documentation that indicates that this should work this way. I
believe this test was added accidentally.
2013-11-05 09:22:56 -03:00
Whitney Young
b75741b50f Restoring global configuration value.
Without setting this back to nil, this affects all other tests.
2013-11-05 09:22:56 -03:00
Zachary Scott
6471b9343e add test for #203 2013-08-10 00:59:19 -04:00
Yuki Nishijima
2ac0c19a64 Add next_page and prev_page methods
closes #237
2013-06-17 17:50:11 +09:00
Akira Matsuda
e79935c2d5 num_pages => total_pages 2012-05-25 15:31:53 +09:00
Akira Matsuda
480b78aa46 reduce number of test Users
loading 300 records in every before :each is so slow
2012-05-23 12:54:54 +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
Renamed from spec/models/data_mapper_spec.rb (Browse further)