From 3500fa59170693a901c35aa8b1e2a53c7757d16f Mon Sep 17 00:00:00 2001 From: nate Date: Tue, 6 Feb 2007 14:28:04 +0000 Subject: [PATCH] Additional Ajax test git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4459 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/tests/cases/libs/view/helpers/ajax.test.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cake/tests/cases/libs/view/helpers/ajax.test.php b/cake/tests/cases/libs/view/helpers/ajax.test.php index 26ff6c68d..1b7ffe010 100644 --- a/cake/tests/cases/libs/view/helpers/ajax.test.php +++ b/cake/tests/cases/libs/view/helpers/ajax.test.php @@ -51,6 +51,10 @@ class AjaxTest extends UnitTestCase { $result = $this->ajax->link('Test Link', '/', array('id' => 'link1', 'update' => 'content', 'evalScripts' => false)); $expected = 'Test Link'; $this->assertEqual($result, $expected); + + $result = $this->ajax->link('Test Link', '/', array('id' => 'link1', 'update' => 'content')); + $expected = 'Test Link'; + $this->assertEqual($result, $expected); } function testAsynchronous() {