From: Toshi MARUYAMA Date: Mon, 5 Oct 2020 15:48:06 +0000 (+0000) Subject: add space after comma to TimelogControllerTest X-Git-Tag: 4.2.0~689 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=77e184ad35c472203753ea52c854c68da7ccc56b;p=redmine.git add space after comma to TimelogControllerTest git-svn-id: http://svn.redmine.org/redmine/trunk@20128 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/functional/timelog_controller_test.rb b/test/functional/timelog_controller_test.rb index 50c34e6a9..0f28e2a65 100644 --- a/test/functional/timelog_controller_test.rb +++ b/test/functional/timelog_controller_test.rb @@ -866,7 +866,7 @@ class TimelogControllerTest < Redmine::ControllerTest def test_post_bulk_update_should_redirect_back_using_the_back_url_parameter @request.session[:user_id] = 2 - post :bulk_update, :params => {:ids => [1,2], :back_url => '/time_entries'} + post :bulk_update, :params => {:ids => [1, 2], :back_url => '/time_entries'} assert_response :redirect assert_redirected_to '/time_entries' @@ -874,7 +874,7 @@ class TimelogControllerTest < Redmine::ControllerTest def test_post_bulk_update_should_not_redirect_back_using_the_back_url_parameter_off_the_host @request.session[:user_id] = 2 - post :bulk_update, :params => {:ids => [1,2], :back_url => 'http://google.com'} + post :bulk_update, :params => {:ids => [1, 2], :back_url => 'http://google.com'} assert_response :redirect assert_redirected_to :controller => 'timelog', :action => 'index', :project_id => Project.find(1).identifier @@ -884,7 +884,7 @@ class TimelogControllerTest < Redmine::ControllerTest @request.session[:user_id] = 2 Role.find_by_name('Manager').remove_permission! :edit_time_entries - post :bulk_update, :params => {:ids => [1,2]} + post :bulk_update, :params => {:ids => [1, 2]} assert_response 403 end