richardmiller-zz / BehatSpec

Extensions to integrate Behat and PhpSpec
MIT License
51 stars 6 forks source link

Doesn't work nicely with named constructors #1

Closed ciaranmcnulty closed 9 years ago

ciaranmcnulty commented 9 years ago

Static method access in the Context (for named constructors) prompts to create an example of the method as non-static in phpspec

richardmiller-zz commented 9 years ago

I've added asking what type of method it is here - https://github.com/richardmiller/ExemplifyExtension/commit/9276c728d03cc6e031bcce389541614a44d33170

richardmiller-zz commented 9 years ago

Latest version now includes these fixes in the ExemplifyExtension.