package pagewriter import ( "errors" "fmt" "io/ioutil" "net/http" "net/http/httptest" "os" "path/filepath" . "github.com/onsi/ginkgo" . "github.com/onsi/ginkgo/extensions/table" . "github.com/onsi/gomega" ) var _ = Describe("Writer", func() { Context("NewWriter", func() { var writer Writer var opts Opts var request *http.Request BeforeEach(func() { opts = Opts{ TemplatesPath: "", ProxyPrefix: "/prefix", Footer: "