summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-04-01 00:46:29 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-04-01 00:46:29 +0000
commit122ba564b9c5c475c360e45af51fa92cfe969657 (patch)
treebd50e392e5f139d233184c246db5114dd28e0c1c
parent10f66e425e887cf11a79f5aec539d02ec838462e (diff)
downloadredmine-122ba564b9c5c475c360e45af51fa92cfe969657.tar.gz
redmine-122ba564b9c5c475c360e45af51fa92cfe969657.zip
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
-rw-r--r--test/integration/api_test/users_test.rb4
1 files 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