Ensure proper content type for cc.xml
This commit is contained in:
parent
61142c7cf6
commit
6940532994
|
@ -74,6 +74,7 @@ describe 'Repos' do
|
|||
it 'GET /repos/1/cc.xml' do
|
||||
response = get "repos/#{repo.id}/cc.xml"
|
||||
response.should deliver_cc_xml_for(Repository.by_slug('svenfuchs/minimal').first)
|
||||
response.content_type.should eq('application/xml;charset=utf-8')
|
||||
end
|
||||
|
||||
it 'GET /repos/svenfuchs/minimal' do
|
||||
|
|
Loading…
Reference in New Issue
Block a user