]> source.dussan.org Git - redmine.git/commitdiff
code layout clean up of test_errors_full_messages_should_include_custom_fields_errors...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 7 Oct 2011 12:24:01 +0000 (12:24 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 7 Oct 2011 12:24:01 +0000 (12:24 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7605 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/issue_test.rb

index 1299b54bb1626c7df66cdb9d99b65b41f3ec95e0..edf2ca529d7c8ac1e418b8d41239ee291c46487e 100644 (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