Fixed that 200 API responses have a body containing one space (#11388).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9975 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -238,6 +238,7 @@ class ApiTest::UsersTest < ActionController::IntegrationTest
|
||||
assert !user.admin?
|
||||
|
||||
assert_response :ok
|
||||
assert_equal '', @response.body
|
||||
end
|
||||
end
|
||||
|
||||
@@ -263,6 +264,7 @@ class ApiTest::UsersTest < ActionController::IntegrationTest
|
||||
assert !user.admin?
|
||||
|
||||
assert_response :ok
|
||||
assert_equal '', @response.body
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -322,6 +324,7 @@ class ApiTest::UsersTest < ActionController::IntegrationTest
|
||||
end
|
||||
|
||||
assert_response :ok
|
||||
assert_equal '', @response.body
|
||||
end
|
||||
end
|
||||
|
||||
@@ -337,6 +340,7 @@ class ApiTest::UsersTest < ActionController::IntegrationTest
|
||||
end
|
||||
|
||||
assert_response :ok
|
||||
assert_equal '', @response.body
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user