Browse Source

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
tags/1.3.0
Toshi MARUYAMA 12 years ago
parent
commit
925e11ed16
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      test/unit/issue_test.rb

+ 2
- 1
test/unit/issue_test.rb 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

Loading…
Cancel
Save