From c5697e01e4a90ebfbf4e5ba4cbe828a4ac49fb23 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 20 Dec 2016 15:49:23 +0000 Subject: Fix test in 3.2-stable (#14817). git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@16105 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/timelog_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/functional/timelog_controller_test.rb b/test/functional/timelog_controller_test.rb index bb8d2ba7b..b1c64f5d4 100644 --- a/test/functional/timelog_controller_test.rb +++ b/test/functional/timelog_controller_test.rb @@ -584,7 +584,7 @@ class TimelogControllerTest < ActionController::TestCase @request.env["HTTP_REFERER"] = referer @request.session[:user_id] = 2 - delete :destroy, :params => {:id => 1} + delete :destroy, :id => 1 assert_redirected_to referer end -- cgit v1.2.3