These should be required from kaminari-data_mapper gem's spec_helper
This commit is contained in:
parent
cfe4feb13b
commit
e8410376e6
|
@ -4,7 +4,6 @@ require 'action_controller/railtie'
|
|||
require 'action_view/railtie'
|
||||
|
||||
require 'fake_app/active_record/config' if defined? ActiveRecord
|
||||
require 'fake_app/data_mapper/config' if defined? DataMapper
|
||||
require 'fake_app/mongo_mapper/config' if defined? MongoMapper
|
||||
# config
|
||||
app = Class.new(Rails::Application)
|
||||
|
@ -27,7 +26,6 @@ end
|
|||
|
||||
#models
|
||||
require 'fake_app/active_record/models' if defined? ActiveRecord
|
||||
require 'fake_app/data_mapper/models' if defined? DataMapper
|
||||
require 'fake_app/mongo_mapper/models' if defined? MongoMapper
|
||||
|
||||
# controllers
|
||||
|
|
Loading…
Reference in New Issue