Commit Graph

25 Commits

Author SHA1 Message Date
Akira Matsuda 086bedcab3 ❄️ 2016-10-12 10:03:37 +09:00
Akira Matsuda 02c9e57b0e Run kaminari-core's spec/support 2016-10-05 22:23:18 +09:00
Akira Matsuda 52511f87b0 Move specs to kaminari-core gem 2016-10-05 07:05:05 +09:00
Akira Matsuda d339bb060e Better check definition of ::Rails::Railtie to make sure rails is bundled 2016-06-07 07:53:31 +09:00
Akira Matsuda 9096aca4e5 Remove Sinatra support that has been extracted to kaminari-sinatra gem 2016-06-02 02:00:55 +09:00
Yuki Nishijima 22d77a2ced Temorary spec for generator
You can run generator spec by doing:

    GENERATOR_SPEC=true rake spec:ative_record_41

We are doing this because we don't want to make API calls in the
spec. At the same time, we aldo don't want to use fakeweb or something
like that because it causes "you never realize until you go production"
 situation. We had it before and shipped a bug - we are not sure what is
a better solution, but at long as I'm aware of this I'll take care of it.
2014-04-09 19:19:48 -07:00
Zachary Scott 6af7e52963 Remove coveralls, fixes #476
"it doesn't fit for us" -matsuda-sama
2013-11-22 23:55:06 +09:00
Whitney Young 804ff8c87c Coveralls handles multiple Travis builds.
There's no need to use the merged support from Coveralls since they
already handle receiving data from multiple Travis builds and
combining that.
2013-11-11 14:22:48 -03:00
Whitney Young 1281f00bf0 Added Coveralls support. 2013-11-11 12:47:55 -03:00
SHIBATA Hiroshi 2990a10867 compatible for capybara-2.0.0 later. 2012-11-26 22:43:59 +09:00
Akira Matsuda 521f79a297 fake_app => rails_app 2012-05-23 12:54:54 +09:00
Akira Matsuda a87acfb768 let the specs run on Rails || Sinatra 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 0c32bb3293 bundler/setup & require 2012-05-23 12:38:30 +09:00
Akira Matsuda f22df5816b it is not required to require by full path. Let's trust the LOAD_PATH 2011-12-11 01:15:18 +09:00
Akira Matsuda 3236398bc7 Merge branch 'datamapper-int' of https://github.com/Ragmaanir/kaminari into Ragmaanir-datamapper-int
Conflicts:
	kaminari.gemspec
	lib/kaminari/models/data_mapper_extension.rb
	lib/kaminari/railtie.rb
	spec/models/data_mapper_spec.rb

also, refactored a lot to make the code simple
2011-08-29 20:23:13 +09:00
Ragmaanir 4b2e2042e2 - basic dm pagination working 2011-05-23 15:30:00 +02: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
Ben Woosley 92dbf6ff26 Use database cleaner in specs so we don't have to worry about test pollution ourselves 2011-04-19 19:01:23 +09:00
Leonard Chin be40c18e2b Add YAML merge keys workaround.
Prevent problems when using running tests with
a mongoid.yml using YAML merge keys on Ruby 1.9.2
and RubyGems >= 1.5

Will be needed until r30629 and r30630 are backported
to 1.9.2 (ticket #4357)

http://redmine.ruby-lang.org/issues/show/4357
2011-02-19 20:54:32 +09:00
Akira Matsuda 5f3f73f99b specs for mongoid scopes 2011-02-18 12:33:56 +09:00
Akira Matsuda 31b213a760 prepare for spec (part II) 2011-02-12 01:04:25 +09:00
Akira Matsuda 94b65da63f extract the app from config file 2011-02-08 11:19:04 +09:00
Akira Matsuda ff721e02d5 prepare for the specs 2011-02-05 23:45:49 +09:00
Akira Matsuda 4db3397b4d Initial commit to kaminari. 2011-02-05 22:32:10 +09:00