Permalink
Browse files

fix spec/console

  • Loading branch information...
mislav committed Jul 28, 2011
1 parent ae6f5fc commit 2487eb1c11608f2f8a9d4999e4888b959671e1f1
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/console_fixtures.rb
View
@@ -1,7 +1,7 @@
require 'bundler'
Bundler.setup
-require 'will_paginate/finders/active_record'
+require 'will_paginate/active_record'
require 'finders/activerecord_test_connector'
ActiverecordTestConnector.setup
@@ -27,4 +27,4 @@
ActiverecordTestConnector::Fixtures.create_fixtures \
ActiverecordTestConnector::FIXTURES_PATH, ActiveRecord::Base.connection.tables
-WillPaginate::Finders::ActiveRecord.enable!
+WillPaginate::ActiveRecord.setup

0 comments on commit 2487eb1

Please sign in to comment.