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) { ...@@ -32,6 +32,12 @@ casper.thenOpen('http://localhost:8090/', function thenLocalhost (response) {
32 this.test.assertEquals(headers.get('X-Is-Troll'), null, 'Checking unexisting header'); 32 this.test.assertEquals(headers.get('X-Is-Troll'), null, 'Checking unexisting header');
33 }); 33 });
34 34
35 casper.back();
36
37 casper.then(function(response){
38 this.test.assertEquals(response, undefined, 'Response should match the one of the previous step');
39 });
40
35 casper.run(function () { 41 casper.run(function () {
36 server.close(); 42 server.close();
37 this.test.done(); 43 this.test.done();
......