Fix test/integration/api_test/users_test.rb fails due to changing en.yml (#8035, #7855).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5270 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-04-01 00:46:29 +00:00
parent 10f66e425e
commit 122ba564b9
1 changed files with 2 additions and 2 deletions

View File

@ -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