Permalink
Browse files

renaming NumberHelperTest to CakeNumberTest

  • Loading branch information...
1 parent fd17e33 commit cd7a8452a2489a04f62481464d99fea3700c6a84 @rchavik rchavik committed Feb 6, 2012
@@ -1,6 +1,6 @@
<?php
/**
- * NumberHelperTest file
+ * CakeNumberTest file
*
* PHP 5
*
@@ -18,21 +18,14 @@
*/
App::uses('View', 'View');
-App::uses('NumberHelper', 'View/Helper');
+App::uses('CakeNumber', 'Utility');
/**
- * NumberHelperTest class
+ * CakeNumberTest class
*
- * @package Cake.Test.Case.View.Helper
- */
-class NumberHelperTest extends CakeTestCase {
-
-/**
- * helper property
- *
- * @var mixed null
+ * @package Cake.Test.Case.Utility
*/
- public $helper = null;
+class CakeNumberTest extends CakeTestCase {
/**
* setUp method
@@ -41,8 +34,7 @@ class NumberHelperTest extends CakeTestCase {
*/
public function setUp() {
parent::setUp();
- $view = $this->getMock('View', array(), array(), '', false);
- $this->Number = new NumberHelper($view);
+ $this->Number = new CakeNumber();
}
/**

0 comments on commit cd7a845

Please sign in to comment.