diff options
Diffstat (limited to 'test/integration/api_test/users_test.rb')
-rw-r--r-- | test/integration/api_test/users_test.rb | 4 |
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 beadc54c6..b0b0f6258 100644 --- a/test/integration/api_test/users_test.rb +++ b/test/integration/api_test/users_test.rb @@ -183,7 +183,7 @@ class Redmine::ApiTest::UsersTest < Redmine::ApiTest::Base assert_response :unprocessable_entity assert_equal 'application/xml', @response.content_type - assert_select 'errors error', :text => "First name can't be blank" + assert_select 'errors error', :text => "First name cannot be blank" end test "POST /users.json with with invalid parameters should return errors" do @@ -253,7 +253,7 @@ class Redmine::ApiTest::UsersTest < Redmine::ApiTest::Base assert_response :unprocessable_entity assert_equal 'application/xml', @response.content_type - assert_select 'errors error', :text => "First name can't be blank" + assert_select 'errors error', :text => "First name cannot be blank" end test "PUT /users/:id.json with invalid parameters" do |