Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add code activities to the ch5 (behat-hooks-background) #19

Merged
merged 5 commits into from
Oct 20, 2015

Conversation

bocharsky-bw
Copy link
Member

Resolve 05-behat-hooks-background in the #12

{
$featureContextClass = new \ReflectionClass('FeatureContext');
if (!$featureContextClass->hasMethod('afterStepHook')) {
throw new GradingException('Method `afterStepHook()` doesn\'t found in the `FeatureContext` class. Did you create it?');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about:

The afterStepHook() method wasn't found in the FeatureContext class.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's better 👍 I just keep it consistent with oo tut. We start message with Method methodName() ... there.

weaverryan added a commit that referenced this pull request Oct 20, 2015
Add code activities to the ch5 (behat-hooks-background)
@weaverryan weaverryan merged commit 03e1902 into behat3 Oct 20, 2015
@weaverryan weaverryan deleted the code-activities-ch5 branch October 20, 2015 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants