Example #1
0
 public function testIssue75()
 {
     $pug = new Pug(array('cache' => false));
     $requirements = $pug->requirements();
     $this->assertTrue($requirements['cacheFolderExists']);
     $this->assertTrue($requirements['cacheFolderIsWritable']);
 }
Example #2
0
 /**
  * @expectedException \InvalidArgumentException
  * @expectedExceptionCode 19
  */
 public function testRequirementThatDoesNotExist()
 {
     $pug = new Pug();
     $pug->requirements('requirementThatDoesNotExist');
 }