Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Renamed progress helper files to include Shell to avoid conflicts wit…
…h existing view helpers
  • Loading branch information
Gareth Ellis committed Dec 1, 2015
1 parent 788c57d commit 2854940
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Expand Up @@ -4,7 +4,7 @@
/**
* Create a progress bar using a supplied callback.
*/
class ProgressHelper extends ShellHelper
class ProgressShellHelper extends ShellHelper
{
/**
* The current progress.
Expand Down
@@ -1,13 +1,13 @@
<?php
App::uses("ProgressHelper", "Console/Helper");
App::uses("ProgressShellHelper", "Console/Helper");
App::uses("ConsoleOutputStub", "TestSuite/Stub");

/**
* ProgressHelper test.
* @property ConsoleOutputStub $consoleOutput
* @property ProgressHelper $helper
* @property ProgressShellHelper $helper
*/
class ProgressHelperTest extends CakeTestCase
class ProgressShellHelperTest extends CakeTestCase
{

/**
Expand All @@ -20,7 +20,7 @@ public function setUp()
parent::setUp();

$this->consoleOutput = new ConsoleOutputStub();
$this->helper = new ProgressHelper($this->consoleOutput);
$this->helper = new ProgressShellHelper($this->consoleOutput);
}

/**
Expand Down

0 comments on commit 2854940

Please sign in to comment.