From adebf4da1dba677f137b65be56d981ca1e2cef3d Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Thu, 6 Jun 2019 14:53:23 +0000 Subject: Remove trailing whitespaces from test (#31506). Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18233 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/news_controller_test.rb | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'test/functional/news_controller_test.rb') diff --git a/test/functional/news_controller_test.rb b/test/functional/news_controller_test.rb index 46fc5c84d..ebee983b7 100644 --- a/test/functional/news_controller_test.rb +++ b/test/functional/news_controller_test.rb @@ -118,7 +118,7 @@ class NewsControllerTest < Redmine::ControllerTest :news => { :title => 'NewsControllerTest', :description => 'This is the description', - :summary => '' + :summary => '' } } end @@ -141,11 +141,11 @@ class NewsControllerTest < Redmine::ControllerTest :project_id => 1, :news => { :title => 'Test', - :description => 'This is the description' - }, + :description => 'This is the description' + }, :attachments => { '1' => { - 'file' => uploaded_test_file('testfile.txt', 'text/plain')} + 'file' => uploaded_test_file('testfile.txt', 'text/plain')} } } end @@ -162,7 +162,7 @@ class NewsControllerTest < Redmine::ControllerTest :news => { :title => '', :description => 'This is the description', - :summary => '' + :summary => '' } } assert_response :success @@ -183,7 +183,7 @@ class NewsControllerTest < Redmine::ControllerTest put :update, :params => { :id => 1, :news => { - :description => 'Description changed by test_post_edit' + :description => 'Description changed by test_post_edit' } } assert_redirected_to '/news/1' @@ -199,11 +199,11 @@ class NewsControllerTest < Redmine::ControllerTest put :update, :params => { :id => 1, :news => { - :description => 'This is the description' - }, + :description => 'This is the description' + }, :attachments => { '1' => { - 'file' => uploaded_test_file('testfile.txt', 'text/plain')} + 'file' => uploaded_test_file('testfile.txt', 'text/plain')} } } end @@ -217,7 +217,7 @@ class NewsControllerTest < Redmine::ControllerTest put :update, :params => { :id => 1, :news => { - :description => '' + :description => '' } } assert_response :success -- cgit v1.2.3