summaryrefslogtreecommitdiffstats
path: root/test/functional/projects_controller_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-24 16:44:40 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-24 16:44:40 +0000
commit05ab4e13dee6e32efed0b1682baad0934e2033ed (patch)
treedba31893c4db52e4856088084447920e17f7e638 /test/functional/projects_controller_test.rb
parent3bd37fef40766c06960a45f0550ca99e2cf8bd3c (diff)
downloadredmine-05ab4e13dee6e32efed0b1682baad0934e2033ed.tar.gz
redmine-05ab4e13dee6e32efed0b1682baad0934e2033ed.zip
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
Diffstat (limited to 'test/functional/projects_controller_test.rb')
-rw-r--r--test/functional/projects_controller_test.rb4
1 files 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))