Adds leading slash to all assert_redirected_to arguments (#6887).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4407 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -126,7 +126,7 @@ class SearchControllerTest < ActionController::TestCase
|
||||
def test_quick_jump_to_issue
|
||||
# issue of a public project
|
||||
get :index, :q => "3"
|
||||
assert_redirected_to 'issues/3'
|
||||
assert_redirected_to '/issues/3'
|
||||
|
||||
# issue of a private project
|
||||
get :index, :q => "4"
|
||||
|
||||
Reference in New Issue
Block a user