Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing whitespace.

  • Loading branch information...
commit abdcfcb5e8d5173223561e32071e75587646399e 1 parent c02a8fa
@markstory markstory authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 cake/tests/cases/libs/view/helpers/jquery_engine.test.php
View
10 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',
Please sign in to comment.
Something went wrong with that request. Please try again.