beast rev 2066
[beast-modified.git] / vendor / plugins / will_paginate / test / lib / load_fixtures.rb
blob094bfd81beb755e1a2f7ab998c9dabb09f9432ed
1 dirname = File.dirname(__FILE__)
2 require File.join(dirname, '..', 'boot')
3 require File.join(dirname, 'activerecord_test_connector')
5 # setup the connection
6 ActiveRecordTestConnector.setup
8 # load all fixtures
9 fixture_path = File.join(dirname, '..', 'fixtures')
10 Fixtures.create_fixtures(fixture_path, ActiveRecord::Base.connection.tables)