Fixes from Jason Blevins

Removed some (fossil) test dependencies and a deprecation warning.
Patched the Rails 2.0.2 routing code to emit old-style Instiki URLs.
This commit is contained in:
Jacques Distler 2007-12-24 17:26:40 -06:00
commit 6cd8d8d2ef
4 changed files with 374 additions and 250 deletions

View file

@ -6,9 +6,6 @@ config.cache_classes = false
# Log error messages when you accidentally call methods on nil.
config.whiny_nils = true
# Enable the breakpoint server that script/breakpointer connects to
config.breakpoint_server = true
# Show full error reports and disable caching
config.action_controller.consider_all_requests_local = true
config.action_controller.perform_caching = false

View file

@ -46,8 +46,8 @@ class RoutesTest < Test::Unit::TestCase
end
def test_cases_broken_by_routes
# assert_routing('web/show/Page+With+Spaces',
# :controller => 'wiki', :web => 'web', :action => 'show', :id => 'Page With Spaces')
assert_routing('web/show/Page+With+Spaces',
:controller => 'wiki', :web => 'web', :action => 'show', :id => 'Page With Spaces')
# assert_routing('web/show/HomePage%2Fsomething_else',
# :controller => 'wiki', :web => 'web', :action => 'show', :id => 'HomePage/something_else')
end

View file

@ -8,8 +8,8 @@ require 'application'
require 'test/unit'
require 'active_record/fixtures'
require 'action_controller/test_process'
require 'action_web_service/test_invoke'
require 'breakpoint'
#require 'action_web_service/test_invoke'
#require 'breakpoint'
require 'wiki_content'
require 'url_generator'

File diff suppressed because it is too large Load diff