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:
@@ -98,7 +98,7 @@ class RepositoriesControllerTest < ActionController::TestCase
|
||||
|
||||
assert_no_difference "Changeset.count(:conditions => 'user_id = 3')" do
|
||||
post :committers, :id => 1, :committers => { '0' => ['foo', '2'], '1' => ['dlopper', '3']}
|
||||
assert_redirected_to 'projects/ecookbook/repository/committers'
|
||||
assert_redirected_to '/projects/ecookbook/repository/committers'
|
||||
assert_equal User.find(2), c.reload.user
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user