code layout clean up of test_errors_full_messages_should_include_custom_fields_errors at test/unit/issue_test.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7605 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-10-07 12:24:01 +00:00
parent 51d647ecb7
commit 925e11ed16
1 changed files with 2 additions and 1 deletions

View File

@ -203,7 +203,8 @@ class IssueTest < ActiveSupport::TestCase
assert !issue.valid?
assert_equal 1, issue.errors.full_messages.size
assert_equal "Database #{I18n.translate('activerecord.errors.messages.inclusion')}", issue.errors.full_messages.first
assert_equal "Database #{I18n.translate('activerecord.errors.messages.inclusion')}",
issue.errors.full_messages.first
end
def test_update_issue_with_required_custom_field