@@ -36,6 +36,11 class GroupsControllerTest < ActionController::TestCase | |||||
36 | assert_template 'show' |
|
36 | assert_template 'show' | |
37 | end |
|
37 | end | |
38 |
|
38 | |||
|
39 | def test_show_invalid_should_return_404 | |||
|
40 | get :show, :id => 99 | |||
|
41 | assert_response 404 | |||
|
42 | end | |||
|
43 | ||||
39 | def test_new |
|
44 | def test_new | |
40 | get :new |
|
45 | get :new | |
41 | assert_response :success |
|
46 | assert_response :success |
General Comments 0
You need to be logged in to leave comments.
Login now