Sha256: ad37efd16374d985a6e9c69277caece3003d959bebdbacdd948700e787297315

Contents?: true

Size: 808 Bytes

Versions: 1

Compression:

Stored size: 808 Bytes

Contents

require "codeclimate-test-reporter"
CodeClimate::TestReporter.start

ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", __FILE__)
require "bundler/setup"

require "minitest/utils"
require "minitest/autorun"

require "logger"
require "nokogiri"
require "ostruct"
require "sqlite3"
require "rails"

require "active_record"
require "active_support/all"
require "action_view"
require "action_controller"
require "paginate"

ActiveRecord::Base.establish_connection(
  adapter: "sqlite3",
  database: ":memory:"
)

load "test/schema.rb"

Dir[File.dirname(__FILE__) + "/support/**/*.rb"].each {|file| require file}
I18n.load_path << File.dirname(__FILE__) + "/support/translations.yml"

module Minitest
  class Test
    setup do
      Paginate.configuration = Paginate::Configuration.new
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
paginate-4.0.1 test/test_helper.rb