Skip to content
Permalink
Browse files

Fixing whitespace.

  • Loading branch information...
markstory committed Aug 12, 2009
1 parent c02a8fa commit abdcfcb5e8d5173223561e32071e75587646399e
Showing with 5 additions and 5 deletions.
  1. +5 −5 cake/tests/cases/libs/view/helpers/jquery_engine.test.php
@@ -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',

0 comments on commit abdcfcb

Please sign in to comment.
You can’t perform that action at this time.