Skip to content

Commit

Permalink
Fixing whitespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Aug 12, 2009
1 parent 459fcb7 commit 73a63a4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cake/tests/cases/libs/view/helpers/jquery_engine.test.php
Expand Up @@ -160,11 +160,11 @@ function testRequest() {
$expected = '$.ajax({url:"\\/posts\\/view\\/1"});';
$this->assertEqual($result, $expected);

$result = $this->Jquery->request(array('controller' => 'posts', 'action' => 'view', 1), array(
'update' => '#content'
));
$expected = '$.ajax({success:function (data, textStatus) {$("#content").html(data);}, url:"\/posts\/view\/1"});';
$this->assertEqual($result, $expected);
$result = $this->Jquery->request(array('controller' => 'posts', 'action' => 'view', 1), array(
'update' => '#content'
));
$expected = '$.ajax({success:function (data, textStatus) {$("#content").html(data);}, url:"\/posts\/view\/1"});';
$this->assertEqual($result, $expected);

$result = $this->Jquery->request('/people/edit/1', array(
'method' => 'post',
Expand Down

0 comments on commit 73a63a4

Please sign in to comment.