Fixed expected redirection path in a couple of tests
This commit is contained in:
parent
b333e0797c
commit
2969b38bd0
2 changed files with 3 additions and 2 deletions
|
@ -37,6 +37,7 @@ class AdminController < ApplicationController
|
|||
:id => 'HomePage'
|
||||
rescue Instiki::ValidationError => e
|
||||
flash[:error] = e.message
|
||||
# and re-render the form again
|
||||
end
|
||||
else
|
||||
redirect_to :controller => 'wiki', :action => 'index'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue