Silviu Constantin Voicu
unread,Jul 15, 2013, 2:01:36 PM7/15/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to phpsp...@googlegroups.com
Hello,
How to spec my views with phpspec2 in symfony2 project, like in rspec?
For example, to spec that my view has some field or form?
And I also, try to give my self an answer, which is: no, because the vies are string, either php or twig, which then are send as an response
back to browser. I could spec, anything that is a class: a controller, a form, an entity, model, an twig extension, but not the view as it's in the symfony2.
I guess that my solution is to spec the form, and do the view as normal, right? I did see, a spec for view, in sylius for example, and sylius project is kind of
reference for me, not only for bdd.