mailr/vendor/plugins/will_paginate/spec/console_fixtures.rb

9 lines
252 B
Ruby
Raw Normal View History

2009-02-09 19:13:08 +01:00
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)