git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5270 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
10f66e425e
commit
122ba564b9
|
@ -141,7 +141,7 @@ class ApiTest::UsersTest < ActionController::IntegrationTest
|
||||||
|
|
||||||
assert_response :unprocessable_entity
|
assert_response :unprocessable_entity
|
||||||
assert_equal 'application/xml', @response.content_type
|
assert_equal 'application/xml', @response.content_type
|
||||||
assert_tag 'errors', :child => {:tag => 'error', :content => "Firstname can't be blank"}
|
assert_tag 'errors', :child => {:tag => 'error', :content => "First name can't be blank"}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -226,7 +226,7 @@ class ApiTest::UsersTest < ActionController::IntegrationTest
|
||||||
|
|
||||||
assert_response :unprocessable_entity
|
assert_response :unprocessable_entity
|
||||||
assert_equal 'application/xml', @response.content_type
|
assert_equal 'application/xml', @response.content_type
|
||||||
assert_tag 'errors', :child => {:tag => 'error', :content => "Firstname can't be blank"}
|
assert_tag 'errors', :child => {:tag => 'error', :content => "First name can't be blank"}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue