diff options
author | Go MAEDA <maeda@farend.jp> | 2019-06-06 14:53:23 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2019-06-06 14:53:23 +0000 |
commit | adebf4da1dba677f137b65be56d981ca1e2cef3d (patch) | |
tree | 63ced2a2d9a15f055b61620b9fa76fcc7a377510 /test/functional/news_controller_test.rb | |
parent | 7ba7a19cf6047d5428069d6b4a57a5f8859f6826 (diff) | |
download | redmine-adebf4da1dba677f137b65be56d981ca1e2cef3d.tar.gz redmine-adebf4da1dba677f137b65be56d981ca1e2cef3d.zip |
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
Diffstat (limited to 'test/functional/news_controller_test.rb')
-rw-r--r-- | test/functional/news_controller_test.rb | 20 |
1 files changed, 10 insertions, 10 deletions
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 |