Commit 094ed5ca 094ed5ca0d35523fdb6121423ec67ab8fea5287f by oncletom Committed by Nicolas Perriault

Testing back in currentResponse

1 parent eec543cc
......@@ -32,6 +32,12 @@ casper.thenOpen('http://localhost:8090/', function thenLocalhost (response) {
this.test.assertEquals(headers.get('X-Is-Troll'), null, 'Checking unexisting header');
});
casper.back();
casper.then(function(response){
this.test.assertEquals(response, undefined, 'Response should match the one of the previous step');
});
casper.run(function () {
server.close();
this.test.done();
......