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:
commit
6cd8d8d2ef
|
@ -6,9 +6,6 @@ config.cache_classes = false
|
||||||
# Log error messages when you accidentally call methods on nil.
|
# Log error messages when you accidentally call methods on nil.
|
||||||
config.whiny_nils = true
|
config.whiny_nils = true
|
||||||
|
|
||||||
# Enable the breakpoint server that script/breakpointer connects to
|
|
||||||
config.breakpoint_server = true
|
|
||||||
|
|
||||||
# Show full error reports and disable caching
|
# Show full error reports and disable caching
|
||||||
config.action_controller.consider_all_requests_local = true
|
config.action_controller.consider_all_requests_local = true
|
||||||
config.action_controller.perform_caching = false
|
config.action_controller.perform_caching = false
|
||||||
|
|
|
@ -46,8 +46,8 @@ class RoutesTest < Test::Unit::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_cases_broken_by_routes
|
def test_cases_broken_by_routes
|
||||||
# assert_routing('web/show/Page+With+Spaces',
|
assert_routing('web/show/Page+With+Spaces',
|
||||||
# :controller => 'wiki', :web => 'web', :action => 'show', :id => 'Page With Spaces')
|
:controller => 'wiki', :web => 'web', :action => 'show', :id => 'Page With Spaces')
|
||||||
# assert_routing('web/show/HomePage%2Fsomething_else',
|
# assert_routing('web/show/HomePage%2Fsomething_else',
|
||||||
# :controller => 'wiki', :web => 'web', :action => 'show', :id => 'HomePage/something_else')
|
# :controller => 'wiki', :web => 'web', :action => 'show', :id => 'HomePage/something_else')
|
||||||
end
|
end
|
||||||
|
|
|
@ -8,8 +8,8 @@ require 'application'
|
||||||
require 'test/unit'
|
require 'test/unit'
|
||||||
require 'active_record/fixtures'
|
require 'active_record/fixtures'
|
||||||
require 'action_controller/test_process'
|
require 'action_controller/test_process'
|
||||||
require 'action_web_service/test_invoke'
|
#require 'action_web_service/test_invoke'
|
||||||
require 'breakpoint'
|
#require 'breakpoint'
|
||||||
require 'wiki_content'
|
require 'wiki_content'
|
||||||
require 'url_generator'
|
require 'url_generator'
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue