]> source.dussan.org Git - redmine.git/commitdiff
Fix test/integration/api_test/users_test.rb fails due to changing en.yml (#8035,...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 1 Apr 2011 00:46:29 +0000 (00:46 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 1 Apr 2011 00:46:29 +0000 (00:46 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5270 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/integration/api_test/users_test.rb

index 00dc4cc95c72288ab61f0edf29a41a22c3d6f21c..71df80279261714ac0778bf1dd1f1b9cc5bbe24b 100644 (file)
@@ -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