Render non-HTML content when reply emits finished

This commit is contained in:
Matthew Horan 2012-10-22 19:50:19 -04:00
parent e9a4b77ecb
commit ecfa7836d9
2 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,6 @@ describe Capybara::Webkit::Driver do
context "css app" do
let(:driver) do
pending 'this spec is hanging the server'
driver_for_app do
get "/" do
headers "Content-Type" => "text/css"

View File

@ -21,5 +21,6 @@ void UnsupportedContentHandler::waitForReplyToFinish() {
}
void UnsupportedContentHandler::replyFinished() {
renderNonHtmlContent();
connect(m_page, SIGNAL(loadFinished(bool)), m_page, SLOT(loadFinished(bool)));
}