spec/spec_helper.rb in paginate-3.0.0 vs spec/spec_helper.rb in paginate-4.0.0

- old
+ new

@@ -22,5 +22,11 @@ load "spec/schema.rb" Dir[File.dirname(__FILE__) + "/support/**/*.rb"].each {|file| require file} I18n.load_path << File.dirname(__FILE__) + "/support/translations.yml" + +RSpec.configure do |config| + config.before(:each) do + Paginate.configuration = Paginate::Configuration.new + end +end