```ruby
require 'rubygems'
require 'bundler'

Bundler.setup :default, :test
Bundler.require :default, :test

require './lib/mongoid-pagination'

Mongoid.database = Mongo::Connection.new.db('mongoid-pagination_test')

RSpec.configure do |c|
  c.before(:each) do
    Mongoid.database.collections.each { |c| c.drop unless c.name =~ /system\.indexes$/}
  end
end```

Add spec to load path in test env
user
```ruby
require 'rubygems'
require 'bundler'

Bundler.setup :default, :test
Bundler.require :default, :test

$:.push(File.expand_path(File.dirname(__FILE__)))
require './lib/mongoid-pagination'

Mongoid.database = Mongo::Connection.new.db('mongoid-pagination_test')

RSpec.configure do |c|
  c.before(:each) do
    Mongoid.database.collections.each { |c| c.drop unless c.name =~ /system\.indexes$/}
  end
end```
assistant