mirror of
https://github.com/redmine/redmine.git
synced 2025-12-20 23:40:43 +01:00
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
This commit is contained in:
@@ -31,7 +31,7 @@ class CommentsControllerTest < Redmine::ControllerTest
|
||||
post :create, :params => {
|
||||
:id => 1,
|
||||
:comment => {
|
||||
:comments => 'This is a test comment'
|
||||
:comments => 'This is a test comment'
|
||||
}
|
||||
}
|
||||
assert_redirected_to '/news/1'
|
||||
@@ -48,7 +48,7 @@ class CommentsControllerTest < Redmine::ControllerTest
|
||||
post :create, :params => {
|
||||
:id => 1,
|
||||
:comment => {
|
||||
:comments => ''
|
||||
:comments => ''
|
||||
}
|
||||
}
|
||||
assert_response :redirect
|
||||
@@ -63,7 +63,7 @@ class CommentsControllerTest < Redmine::ControllerTest
|
||||
post :create, :params => {
|
||||
:id => 1,
|
||||
:comment => {
|
||||
:comments => 'This is a test comment'
|
||||
:comments => 'This is a test comment'
|
||||
}
|
||||
}
|
||||
assert_response 403
|
||||
|
||||
Reference in New Issue
Block a user