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
@@ -95,7 +95,7 @@ class AttachmentsControllerTest < ActionController::TestCase
post :destroy, :id => 1
end
# no referrer
assert_redirected_to 'projects/ecookbook'
assert_redirected_to '/projects/ecookbook'
assert_nil Attachment.find_by_id(1)
j = issue.journals.find(:first, :order => 'created_on DESC')
assert_equal 'attachment', j.details.first.property