Commit fde75394 fde75394b5b877180757bd78de7f8f4bd28d2d50 by Darrell Hamilton

style fixes

1 parent 2a882964
...@@ -2268,7 +2268,7 @@ function createPage(casper) { ...@@ -2268,7 +2268,7 @@ function createPage(casper) {
2268 if (isMainFrame && casper.requestUrl !== url) { 2268 if (isMainFrame && casper.requestUrl !== url) {
2269 casper.navigationRequested = true; 2269 casper.navigationRequested = true;
2270 2270
2271 if(willNavigate) { 2271 if (willNavigate) {
2272 casper.requestUrl = url; 2272 casper.requestUrl = url;
2273 } 2273 }
2274 } 2274 }
......
...@@ -9,7 +9,6 @@ var service = server.listen(8090, function(request, response) { ...@@ -9,7 +9,6 @@ var service = server.listen(8090, function(request, response) {
9 response.close(); 9 response.close();
10 }); 10 });
11 11
12
13 casper.test.begin('Link Navigation updates response', function(test) { 12 casper.test.begin('Link Navigation updates response', function(test) {
14 casper.start('http://localhost:8090', function(response) { 13 casper.start('http://localhost:8090', function(response) {
15 casper.click('a'); 14 casper.click('a');
...@@ -21,7 +20,7 @@ casper.test.begin('Link Navigation updates response', function(test) { ...@@ -21,7 +20,7 @@ casper.test.begin('Link Navigation updates response', function(test) {
21 test.assertEquals( 20 test.assertEquals(
22 response.url, 21 response.url,
23 casper.page.url, 22 casper.page.url,
24 'response is consisitent with the internal page' 23 'response is consistent with the internal page'
25 ); 24 );
26 25
27 }); 26 });
...@@ -41,7 +40,7 @@ casper.test.begin('Form Submittal updates the response', function(test) { ...@@ -41,7 +40,7 @@ casper.test.begin('Form Submittal updates the response', function(test) {
41 test.assertEquals( 40 test.assertEquals(
42 response.url, 41 response.url,
43 casper.page.url, 42 casper.page.url,
44 'response is consisitent with the internal page' 43 'response is consistent with the internal page'
45 ); 44 );
46 }); 45 });
47 }).run(function() { 46 }).run(function() {
...@@ -49,4 +48,3 @@ casper.test.begin('Form Submittal updates the response', function(test) { ...@@ -49,4 +48,3 @@ casper.test.begin('Form Submittal updates the response', function(test) {
49 server.close(); 48 server.close();
50 }); 49 });
51 }); 50 });
52
......