Components_Unit_Components_Release_Task_CurrentSentinelTest::testRunTaskWithoutCommit PHP Method

testRunTaskWithoutCommit() public method

    public function testRunTaskWithoutCommit()
    {
        $tmp_dir = $this->_prepareApplicationDirectory();
        $tasks = $this->getReleaseTasks();
        $package = $this->getComponent($tmp_dir);
        $tasks->run(array('CurrentSentinel'), $package);
        $this->assertEquals('---------
v4.0.1RC1
---------
TEST', file_get_contents($tmp_dir . '/docs/CHANGES'));
        $this->assertEquals('class Application {
public $version = \'4.0.1RC1\';
}
', file_get_contents($tmp_dir . '/lib/Application.php'));
    }