mirror of
https://github.com/redmine/redmine.git
synced 2026-01-30 19:30:11 +01:00
Test for when group does not exist.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10002 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -36,6 +36,11 @@ class GroupsControllerTest < ActionController::TestCase
|
||||
assert_template 'show'
|
||||
end
|
||||
|
||||
def test_show_invalid_should_return_404
|
||||
get :show, :id => 99
|
||||
assert_response 404
|
||||
end
|
||||
|
||||
def test_new
|
||||
get :new
|
||||
assert_response :success
|
||||
|
||||
Reference in New Issue
Block a user