Permalink
Browse files

Fix code standards.

  • Loading branch information...
1 parent 17cbcf4 commit 5bb8c3a942cd35c89e335d4c12317d06375b1bfb @markstory markstory committed Apr 14, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 lib/Cake/Test/Case/View/ViewTest.php
@@ -999,13 +999,12 @@ public function testRenderUsingViewProperty() {
*
* @return void
*/
- public function testGetViewFileNameSubdirWithPluginAndViewPath()
- {
+ public function testGetViewFileNameSubdirWithPluginAndViewPath() {
$this->PostsController->plugin = 'TestPlugin';
$this->PostsController->viewPath = 'Elements';
$this->PostsController->name = 'Posts';
$View = new TestView($this->PostsController);
-
+
$expected = CAKE . 'Test' . DS . 'test_app' . DS . 'Plugin' . DS . 'TestPlugin' .
DS . 'View' . DS . 'Elements' . DS . 'sub_dir' . DS . 'sub_element.ctp';
$this->assertEquals($expected, $View->getViewFileName('sub_dir/sub_element'));

0 comments on commit 5bb8c3a

Please sign in to comment.