@@ -1077,7 +1077,8 class IssuesControllerTest < ActionController::TestCase | |||||
1077 | assert_template 'new' |
|
1077 | assert_template 'new' | |
1078 | issue = assigns(:issue) |
|
1078 | issue = assigns(:issue) | |
1079 | assert_not_nil issue |
|
1079 | assert_not_nil issue | |
1080 |
assert_equal I18n.translate('activerecord.errors.messages.invalid'), |
|
1080 | assert_equal I18n.translate('activerecord.errors.messages.invalid'), | |
|
1081 | issue.errors[:custom_values].to_s | |||
1081 | end |
|
1082 | end | |
1082 |
|
1083 | |||
1083 | def test_post_create_with_watchers |
|
1084 | def test_post_create_with_watchers |
General Comments 0
You need to be logged in to leave comments.
Login now