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:
parent
51d647ecb7
commit
925e11ed16
|
@ -203,7 +203,8 @@ class IssueTest < ActiveSupport::TestCase
|
||||||
|
|
||||||
assert !issue.valid?
|
assert !issue.valid?
|
||||||
assert_equal 1, issue.errors.full_messages.size
|
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
|
end
|
||||||
|
|
||||||
def test_update_issue_with_required_custom_field
|
def test_update_issue_with_required_custom_field
|
||||||
|
|
Loading…
Reference in New Issue