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