1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-24 01:11:12 +00:00

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
This commit is contained in:
Toshi MARUYAMA 2019-11-24 16:44:40 +00:00
parent 3bd37fef40
commit 05ab4e13de

View File

@ -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))