Refactor: extract TimelogController#edit to #update

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4248 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Eric Davis
2010-10-11 15:31:42 +00:00
parent 700c302fca
commit 435c90eb47
6 changed files with 27 additions and 12 deletions
+2 -1
View File
@@ -239,8 +239,9 @@ class RoutingTest < ActionController::IntegrationTest
should_route :get, "/time_entries/22/edit", :controller => 'timelog', :action => 'edit', :id => '22'
should_route :post, "/projects/ecookbook/timelog/edit", :controller => 'timelog', :action => 'create', :project_id => 'ecookbook'
should_route :post, "/time_entries/22/edit", :controller => 'timelog', :action => 'edit', :id => '22'
should_route :post, "/time_entries/55/destroy", :controller => 'timelog', :action => 'destroy', :id => '55'
should_route :put, "/time_entries/22", :controller => 'timelog', :action => 'update', :id => '22'
end
context "time_entry_reports" do