# File test/test_document.rb, line 939 def test_GET_virtual_not_found @folder.virtual_mount('foo', self, '/') @request.method = 'GET' @request.path = '/' @request.version = 'HTTP/1.1' @request.set_header('Host', 'bar') begin @folder.publish('', @request, @response, @logger) rescue Rucy::HTTPError assert_equal(404, $!.status) # Not Found assert(0, @publish_call) assert_match(@log_debug, /not mounted/) done = true end assert(done) end