diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-10-07 12:24:01 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-10-07 12:24:01 +0000 |
commit | 925e11ed16acc391f2f868ae229a2289c056a94b (patch) | |
tree | 1e87ef097fe062b85bb2c12553be21827905a14c /test | |
parent | 51d647ecb771c8f1ea366ddf5fadfc35fe465e8a (diff) | |
download | redmine-925e11ed16acc391f2f868ae229a2289c056a94b.tar.gz redmine-925e11ed16acc391f2f868ae229a2289c056a94b.zip |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/issue_test.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/issue_test.rb b/test/unit/issue_test.rb index 1299b54bb..edf2ca529 100644 --- a/test/unit/issue_test.rb +++ b/test/unit/issue_test.rb @@ -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 |