@@ -89,7 +89,7 class TrackersControllerTest < ActionController::TestCase | |||
|
89 | 89 | end |
|
90 | 90 | assert_response :success |
|
91 | 91 | assert_template 'new' |
|
92 |
assert_error_tag :content => /name |
|
|
92 | assert_error_tag :content => /name #{ESCAPED_CANT} be blank/i | |
|
93 | 93 | end |
|
94 | 94 | |
|
95 | 95 | def test_edit |
@@ -154,7 +154,7 class TrackersControllerTest < ActionController::TestCase | |||
|
154 | 154 | put :update, :id => 1, :tracker => { :name => '' } |
|
155 | 155 | assert_response :success |
|
156 | 156 | assert_template 'edit' |
|
157 |
assert_error_tag :content => /name |
|
|
157 | assert_error_tag :content => /name #{ESCAPED_CANT} be blank/i | |
|
158 | 158 | end |
|
159 | 159 | |
|
160 | 160 | def test_move_lower |
General Comments 0
You need to be logged in to leave comments.
Login now