From dde043f6cd1bf4fe97de678992000b1606e2620c Mon Sep 17 00:00:00 2001 From: Akihiko Odaki Date: Tue, 30 May 2017 01:05:30 +0900 Subject: [PATCH] Cover WellKnown::HostMetaController more (#3382) --- spec/controllers/well_known/host_meta_controller_spec.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/spec/controllers/well_known/host_meta_controller_spec.rb b/spec/controllers/well_known/host_meta_controller_spec.rb index 8a040021a6e..d647dc97a41 100644 --- a/spec/controllers/well_known/host_meta_controller_spec.rb +++ b/spec/controllers/well_known/host_meta_controller_spec.rb @@ -8,6 +8,13 @@ describe WellKnown::HostMetaController, type: :controller do get :show, format: :xml expect(response).to have_http_status(:success) + expect(response.content_type).to eq 'application/xrd+xml' + expect(response.body).to eq < + + + +XML end end end