diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index 5f3f34522..951cf90be 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -1077,7 +1077,8 @@ class IssuesControllerTest < ActionController::TestCase assert_template 'new' issue = assigns(:issue) assert_not_nil issue - assert_equal I18n.translate('activerecord.errors.messages.invalid'), issue.errors.on(:custom_values) + assert_equal I18n.translate('activerecord.errors.messages.invalid'), + issue.errors[:custom_values].to_s end def test_post_create_with_watchers