Ensure proper content type for cc.xml

This commit is contained in:
Andre Arko 2013-02-06 23:25:12 -08:00 committed by Piotr Sarnacki
parent 61142c7cf6
commit 6940532994

View File

@ -74,6 +74,7 @@ describe 'Repos' do
it 'GET /repos/1/cc.xml' do it 'GET /repos/1/cc.xml' do
response = get "repos/#{repo.id}/cc.xml" response = get "repos/#{repo.id}/cc.xml"
response.should deliver_cc_xml_for(Repository.by_slug('svenfuchs/minimal').first) response.should deliver_cc_xml_for(Repository.by_slug('svenfuchs/minimal').first)
response.content_type.should eq('application/xml;charset=utf-8')
end end
it 'GET /repos/svenfuchs/minimal' do it 'GET /repos/svenfuchs/minimal' do