Return HTTP404 to requests pointing to a non-existant web name
This commit is contained in:
parent
1bb4747a0f
commit
759fbda8a0
3 changed files with 13 additions and 1 deletions
|
@ -166,6 +166,7 @@ class WikiControllerTest < Test::Unit::TestCase
|
|||
end
|
||||
|
||||
def test_index_multiple_webs_web_explicit
|
||||
@wiki.create_web('Test Wiki 2', 'wiki2')
|
||||
process('index', 'web' => 'wiki2')
|
||||
assert_redirected_to :web => 'wiki2', :action => 'show', :id => 'HomePage'
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue