From 122ba564b9c5c475c360e45af51fa92cfe969657 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 1 Apr 2011 00:46:29 +0000 Subject: [PATCH] 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 --- test/integration/api_test/users_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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