##// END OF EJS Templates
code layout clean up of test_errors_full_messages_should_include_custom_fields_errors at test/unit/issue_test.rb...
Toshi MARUYAMA -
r7485:925e11ed16ac
parent child
Show More
@@ -203,7 +203,8 class IssueTest < ActiveSupport::TestCase
203
203
204 assert !issue.valid?
204 assert !issue.valid?
205 assert_equal 1, issue.errors.full_messages.size
205 assert_equal 1, issue.errors.full_messages.size
206 assert_equal "Database #{I18n.translate('activerecord.errors.messages.inclusion')}", issue.errors.full_messages.first
206 assert_equal "Database #{I18n.translate('activerecord.errors.messages.inclusion')}",
207 issue.errors.full_messages.first
207 end
208 end
208
209
209 def test_update_issue_with_required_custom_field
210 def test_update_issue_with_required_custom_field
General Comments 0
You need to be logged in to leave comments. Login now