-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Added specs examples for overriding criteria and sorting parameters in route #1808
Conversation
@@ -251,6 +251,24 @@ function it_has_criteria_parameter(Parameters $parameters, Request $request) | |||
$this->getCriteria()->shouldReturn($criteria); | |||
} | |||
|
|||
function it_allows_override_criteria_parameter_in_route(Parameters $parameters, Request $request) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it_allows_to_override
sounds a bit better, what do you think? :)
Looks good to me, please tweak the example names and we should be good to merge. Thanks a lot @sivolobov! How do you like phpspec? :) |
@sivolobov 👍 Can you squash your commit and rebase it too? |
@Arn0d, It's done:-)
@pjedrzejewski, it is very convenient tool. I like it. I think that I will start my next project with BDD approach. But I think that PHPStorm needs a plugin which will be able to catch all the methods from object which for specs are. |
Added specs examples for overriding criteria and sorting parameters in route
@sivolobov Normally you should write spec before ;) thanks! |
@sivolobov ✌️ |
👍 |
If I do something wrong, please correct me.