lib/soaspec/virtual_server.rb in soaspec-0.3.1 vs lib/soaspec/virtual_server.rb in soaspec-0.3.2
- old
+ new
@@ -187,7 +187,20 @@
]
}
}
BOOKS
end
+
+ documentation 'HTML doc that is not valid HTML'
+ get '/html_doc' do
+ <<-HTML
+<!doctype html>
+<html lang="en">
+<head></head>
+<body>
+<h1>Heading</h1>
+</body>
+</html>
+ HTML
+ end
end
end