Project identifier is now used in URLs (instead of project id).
URLs with a project id will still be recognized. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1007 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -144,7 +144,7 @@ class IssuesControllerTest < Test::Unit::TestCase
|
||||
def test_destroy
|
||||
@request.session[:user_id] = 2
|
||||
post :destroy, :id => 1
|
||||
assert_redirected_to 'projects/1/issues'
|
||||
assert_redirected_to 'projects/ecookbook/issues'
|
||||
assert_nil Issue.find_by_id(1)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user