Refactor: Move the updating of an Issue to the #update method.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3486 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -114,7 +114,7 @@ class IssuesApiTest < ActionController::IntegrationTest
|
||||
def test_update_routing
|
||||
assert_routing(
|
||||
{:method => :put, :path => '/issues/1.xml'},
|
||||
:controller => 'issues', :action => 'edit', :id => '1', :format => 'xml'
|
||||
:controller => 'issues', :action => 'update', :id => '1', :format => 'xml'
|
||||
)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user