Makes projects API return XML description when creating a project (#6874).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4397 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2010-11-13 10:05:43 +00:00
parent abf988ad69
commit eaab2ede76
3 changed files with 10 additions and 3 deletions
+4
View File
@@ -106,6 +106,10 @@ class ApiTest::IssuesTest < ActionController::IntegrationTest
assert_equal 2, issue.tracker_id
assert_equal 3, issue.status_id
assert_equal 'API test', issue.subject
assert_response :created
assert_equal 'application/xml', @response.content_type
assert_tag 'issue', :child => {:tag => 'id', :content => issue.id.to_s}
end
end