New Version
Sync with Latest Instiki Trunk. Migrate to Rails 1.2.5. Bump version number.
This commit is contained in:
parent
de125367b0
commit
207fb1f7f2
120 changed files with 2592 additions and 662 deletions
|
@ -5,6 +5,8 @@ class PaginationTest < ActiveRecordTestCase
|
|||
|
||||
class PaginationController < ActionController::Base
|
||||
self.template_root = "#{File.dirname(__FILE__)}/../fixtures/"
|
||||
|
||||
around_filter :silence_deprecation_warnings
|
||||
|
||||
def simple_paginate
|
||||
@topic_pages, @topics = paginate(:topics)
|
||||
|
@ -67,6 +69,13 @@ class PaginationTest < ActiveRecordTestCase
|
|||
:count => "d.id")
|
||||
render :nothing => true
|
||||
end
|
||||
|
||||
|
||||
def silence_deprecation_warnings
|
||||
ActiveSupport::Deprecation.silence do
|
||||
yield
|
||||
end
|
||||
end
|
||||
|
||||
def rescue_errors(e) raise e end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue