From 05ab4e13dee6e32efed0b1682baad0934e2033ed Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 24 Nov 2019 16:44:40 +0000 Subject: [PATCH] cleanup: rubocop: fix Layout/SpaceInsideHashLiteralBraces in test/functional/projects_controller_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19269 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/projects_controller_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/projects_controller_test.rb b/test/functional/projects_controller_test.rb index 34c25d930..00c5214a5 100644 --- a/test/functional/projects_controller_test.rb +++ b/test/functional/projects_controller_test.rb @@ -1169,7 +1169,7 @@ class ProjectsControllerTest < Redmine::ControllerTest def test_bookmark_should_create_bookmark @request.session[:user_id] = 3 - post :bookmark, params: { id: 'ecookbook' } + post(:bookmark, :params => {:id => 'ecookbook'}) assert_redirected_to controller: 'projects', action: 'show', id: 'ecookbook' jb = Redmine::ProjectJumpBox.new(User.find(3)) assert jb.bookmark?(Project.find('ecookbook')) @@ -1181,7 +1181,7 @@ class ProjectsControllerTest < Redmine::ControllerTest jb = Redmine::ProjectJumpBox.new(User.find(3)) project = Project.find('ecookbook') jb.bookmark_project project - delete :bookmark, params: { id: 'ecookbook' } + delete(:bookmark, :params => {:id => 'ecookbook'}) assert_redirected_to controller: 'projects', action: 'show', id: 'ecookbook' jb = Redmine::ProjectJumpBox.new(User.find(3)) -- 2.39.5