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:
Jean-Philippe Lang
2010-11-14 16:45:32 +00:00
parent 2ee45e8cac
commit 2fab7bd9b1
19 changed files with 57 additions and 57 deletions
+1 -1
View File
@@ -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"