spec/paginate/action_view_spec.rb in paginate-1.0.0 vs spec/paginate/action_view_spec.rb in paginate-1.0.1
- old
+ new
@@ -15,10 +15,10 @@
@view.stub :request => @request
@helper = Object.new
@helper.extend(Paginate::Helper)
- Paginate.setup do |config|
+ Paginate.configure do |config|
config.param_name = :page
config.size = 10
end
I18n.locale = :en