RSS feeds accept query parameter start, end and limit

This commit is contained in:
Alexey Verkhovsky 2005-02-18 02:24:16 +00:00
parent 5e25a94e51
commit aa95acb4f7
4 changed files with 73 additions and 6 deletions

View file

@ -45,6 +45,13 @@ class Test::Unit::TestCase
10.minutes.ago, Author.new('Guest', '127.0.0.2'))
end
def setup_wiki_with_30_pages
(1..30).each { |i|
@wiki.write_page('wiki1', "page#{i}", "Test page #{i}\ncategory: test",
Time.local(1976, 10, i, 12, 00, 00), Author.new('Dema', '127.0.0.2'))
}
end
def tear_down_wiki
ApplicationController.wiki = nil
end