12 lines
297 B
Ruby
12 lines
297 B
Ruby
|
require 'boot'
|
||
|
require 'lib/activerecord_test_connector'
|
||
|
|
||
|
# setup the connection
|
||
|
ActiveRecordTestConnector.setup
|
||
|
|
||
|
# load all fixtures
|
||
|
Fixtures.create_fixtures(ActiveRecordTestConnector::FIXTURES_PATH, ActiveRecord::Base.connection.tables)
|
||
|
|
||
|
require 'will_paginate'
|
||
|
WillPaginate.enable_activerecord
|