Skip to content

Add some steps about redirection precondition & response assertions

Compare
Choose a tag to compare
@shouze shouze released this 14 Aug 15:31
· 7 commits to behat-2.x since this release

Full changelog here

Redirection precondition new step

 Given I won't follow next redirect

Response new assertions examples

Then the response status code should be 301
And response header "Location" should have value "http://www.google.com"