8thlight / cob_spec

A fitnesse suite for a web server
24 stars 33 forks source link

MethodNotAllowed test enforces whitelisting #41

Closed swalker- closed 8 years ago

swalker- commented 8 years ago

@KevinLiddle @dougbradbury As mentioned during our IPM, the 'execute' method of a request expects an HttpRequestBase (which only allows GET, PUT, POST, etc). 'Execute' has an overloaded method that accepts a HttpUriRequest which BogusRequest implements. The only purpose of BogusRequest is to generate a request with a bogus, randomized method name.

The test checks:

KevinLiddle commented 8 years ago

:+1: