mailr/vendor/plugins/will_paginate/spec/console_fixtures.rb
2009-02-10 04:13:08 +10:00

9 lines
252 B
Ruby

require 'will_paginate/finders/active_record'
require 'finders/activerecord_test_connector'
ActiverecordTestConnector.setup
# load all fixtures
Fixtures.create_fixtures(ActiverecordTestConnector::FIXTURES_PATH, ActiveRecord::Base.connection.tables)