Hi,

verifyHeader hasn't changed since a long time and specifically not in 
syntax.

Can you check what Content-Type was actually returned?

cheers
Dierk

Am 11.08.2010 um 11:28 schrieb sebastianb:

> 
> Hello,
> 
> since i have upgraded my grails (v1.3.4) to webtest 3.0 some of my webtest
> fails due to a StepExecutionException for verifyHeader: e.g:
> 
> class SimpleWebTests extends grails.util.WebTest {
> 
>    void testGrailsProjectSite() {
>        invoke 'http://www.grails.org'
> 
>        storeResponseCode(property: "status")
>        verifyProperty(description:"response code should be 200",
> name:"status", text:"200")
> 
>        verifyHeader(description: 'checking Content-Type header', name:
> 'Content-Type', text: "text/html;charset=utf-8")
>    }
> 
> }
> 
> Did the verifyHeader syntax change in some way or am i missing something?
> 
> Kind regards
> Sebastian
> 
> -- 
> View this message in context: 
> http://old.nabble.com/verifyHeader-throws-com.canoo.webtest.engine.StepExecutionException-tp29406508p29406508.html
> Sent from the WebTest mailing list archive at Nabble.com.
> 
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to