From: Toshi MARUYAMA Date: Fri, 1 Apr 2011 00:46:29 +0000 (+0000) Subject: Fix test/integration/api_test/users_test.rb fails due to changing en.yml (#8035,... X-Git-Tag: 1.2.0~575 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=122ba564b9c5c475c360e45af51fa92cfe969657;p=redmine.git 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 --- diff --git a/test/integration/api_test/users_test.rb b/test/integration/api_test/users_test.rb index 00dc4cc95..71df80279 100644 --- a/test/integration/api_test/users_test.rb +++ b/test/integration/api_test/users_test.rb @@ -141,7 +141,7 @@ class ApiTest::UsersTest < ActionController::IntegrationTest assert_response :unprocessable_entity 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 @@ -226,7 +226,7 @@ class ApiTest::UsersTest < ActionController::IntegrationTest assert_response :unprocessable_entity 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