Return HTTP404 to requests pointing to a non-existant web name

This commit is contained in:
Alexey Verkhovsky 2005-03-25 23:40:03 +00:00
parent 1bb4747a0f
commit 759fbda8a0
3 changed files with 13 additions and 1 deletions

View file

@ -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