diff --git a/test/abstract_unit.rb b/test/abstract_unit.rb
index <HASH>..<HASH> 100644
--- a/test/abstract_unit.rb
+++ b/test/abstract_unit.rb
@@ -18,6 +18,10 @@ class Rails
   end
 end
 
+# Load will_paginate.
+require 'will_paginate'
+require 'will_paginate/collection'
+
 test_path = Pathname.new(File.expand_path('../', __FILE__))
 require test_path.parent.join('lib', 'acts_as_indexed').to_s
 
diff --git a/test/will_paginate_search_test.rb b/test/will_paginate_search_test.rb
index <HASH>..<HASH> 100644
--- a/test/will_paginate_search_test.rb
+++ b/test/will_paginate_search_test.rb
@@ -1,6 +1,3 @@
-# Note: Not sure why having to manually require will_paginate/collection.
-require 'will_paginate'
-require 'will_paginate/collection'
 require 'abstract_unit'
 
 class WillPaginateSearchTest < ActiveSupport::TestCase
Move loading of will_paginate to within the abstract_unit.