Further tweaking of markup error handling code
This commit is contained in:
parent
2786446dbb
commit
04a8f80273
11 changed files with 77 additions and 68 deletions
|
@ -89,7 +89,8 @@ class WikiControllerTest < Test::Unit::TestCase
|
|||
|
||||
def test_edit_unknown_page
|
||||
process 'edit', 'web' => 'wiki1', 'id' => 'UnknownPage', 'break_lock' => 'y'
|
||||
assert_redirected_to :action => 'index'
|
||||
assert_redirected_to :controller => 'wiki', :action => 'show', :web => 'wiki1',
|
||||
:id => 'HomePage'
|
||||
end
|
||||
|
||||
def test_edit_page_with_special_symbols
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue