From: Toshi MARUYAMA Date: Sun, 24 Nov 2019 16:44:40 +0000 (+0000) Subject: cleanup: rubocop: fix Layout/SpaceInsideHashLiteralBraces in test/functional/projects... X-Git-Tag: 4.2.0~1371 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=05ab4e13dee6e32efed0b1682baad0934e2033ed;p=redmine.git 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 --- 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))