@@ -31,4 +31,10 class Redmine::ApiTest::EnumerationsTest < Redmine::ApiTest::Base | |||||
31 | end |
|
31 | end | |
32 | end |
|
32 | end | |
33 | end |
|
33 | end | |
|
34 | ||||
|
35 | test "GET /enumerations/invalid_subclass.xml should return 404" do | |||
|
36 | get '/enumerations/invalid_subclass.xml' | |||
|
37 | assert_response 404 | |||
|
38 | assert_equal 'application/xml', response.content_type | |||
|
39 | end | |||
34 | end |
|
40 | end |
General Comments 0
You need to be logged in to leave comments.
Login now