Permalink
Browse files

fixed constant name

  • Loading branch information...
1 parent 0b3fcef commit 296f9ec1ad86a6c319cda2f4f9ac4f2fe6cc9d2e @everzet everzet committed Jul 13, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/PHPSpec2/Tester.php
View
@@ -59,8 +59,8 @@ public function testExample(ReflectionMethod $example)
$instance = $example->getDeclaringClass()->newInstance();
$stubs = $this->getStubsForExample($instance, $example);
- if (defined('BEHAT_ERROR_REPORTING')) {
- $errorLevel = BEHAT_ERROR_REPORTING;
+ if (defined('PHPSPEC_ERROR_REPORTING')) {
+ $errorLevel = PHPSPEC_ERROR_REPORTING;
} else {
$errorLevel = E_ALL ^ E_WARNING;
}

0 comments on commit 296f9ec

Please sign in to comment.