Sha256: b88df6b70b26dbd1b6949e11893a21ea4b7b2c01cb2f4a895e9a02e4ad9b3c4a
Contents?: true
Size: 452 Bytes
Versions: 5
Compression:
Stored size: 452 Bytes
Contents
require File.expand_path("#{File.dirname(__FILE__)}/../../unit_spec_helper") module JsTestCore module Resources describe FileNotFound do describe "GET /invalid_path" do it "returns a page with a of files in the directory" do mock(connection).send_head(404) mock(connection).send_body("") connection.receive_data("GET /invalid_path HTTP/1.1\r\nHost: _\r\n\r\n") end end end end end
Version data entries
5 entries across 5 versions & 3 rubygems