This updates the way options are passed between the Renderer and the View classes.
Now, Renderer::_render() is aware of all rendering options accepted by View::render().
I'm not happy with the so-called unit test committed. Should be moved to integration tests if kept.
Any better idea to unit test this, without testing the actual params passed to _render()?
Related to #624
PS: Sorry for the delay nate ;)
Add a test for passed options when rendering elements with `Renderer:…
Update the way rendering options are passed between the `Renderer` an…
…d `View` classes
Seems that something is wrong with Travis short_open_tag php.ini configuration (enabled by default for PHP 5.4)
@mehlah The code change looks good, but on the failing test, I'm not sure I follow. It looks like it failed on 5.3 and passed on 5.4. However, is there a way we could test this that didn't involve actual rendering? I think it would work better to add an accessor method for $_options on MockRenderer. What do you think?
Hey dude, need some help with this? Just let me know.
Hey Nate, it was a fast and furious week and sadly had no time to take care of it.
I haven't done yet any work to update the test case. If you have a free cycle, I'm buying a diff ;-)
I should be able to push it on Friday anyway.
Need some help for this PR @mehlah ? ;-)
Closed in flavor of #642.