Replaced "can't" with "cannot" in error messages.

git-svn-id: http://svn.redmine.org/redmine/trunk@13781 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2014-12-21 12:39:48 +00:00
parent e2998505b2
commit 2a6692248b
49 changed files with 77 additions and 83 deletions

View File

@@ -1958,7 +1958,7 @@ class IssuesControllerTest < ActionController::TestCase
assert_template 'new'
issue = assigns(:issue)
assert_not_nil issue
assert_select_error /Database #{ESCAPED_CANT} be blank/
assert_select_error /Database cannot be blank/
end
def test_create_should_validate_required_fields
@@ -1982,8 +1982,8 @@ class IssuesControllerTest < ActionController::TestCase
assert_template 'new'
end
assert_select_error /Due date #{ESCAPED_CANT} be blank/i
assert_select_error /Bar #{ESCAPED_CANT} be blank/i
assert_select_error /Due date cannot be blank/i
assert_select_error /Bar cannot be blank/i
end
def test_create_should_ignore_readonly_fields
@@ -3201,7 +3201,7 @@ class IssuesControllerTest < ActionController::TestCase
assert_response :success
assert_template 'edit'
assert_select_error /Activity #{ESCAPED_CANT} be blank/
assert_select_error /Activity cannot be blank/
assert_select 'textarea[name=?]', 'issue[notes]', :text => notes
assert_select 'input[name=?][value=?]', 'time_entry[hours]', '2z'
end
@@ -3219,8 +3219,8 @@ class IssuesControllerTest < ActionController::TestCase
assert_response :success
assert_template 'edit'
assert_select_error /Activity #{ESCAPED_CANT} be blank/
assert_select_error /Hours #{ESCAPED_CANT} be blank/
assert_select_error /Activity cannot be blank/
assert_select_error /Hours cannot be blank/
assert_select 'textarea[name=?]', 'issue[notes]', :text => notes
assert_select 'input[name=?][value=?]', 'time_entry[comments]', 'this is my comment'
end