This project is archived and is in readonly mode.
Make view a formal API in action view test case
Reported by David Chelimsky | June 22nd, 2010 @ 04:18 PM
In ActionView::TestCase::Behavior, change _view
to
view
(leaving _view
as an alias, perhaps
deprecated). It is generally useful for creating stubs, etc (see
https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets....
Patch forthcoming
Comments and changes to this ticket
-
Repository June 23rd, 2010 @ 04:50 PM
- State changed from new to resolved
(from [32b8be95331928990a61a43023a343a0583b53c7]) Expose view via the view() method in AV::TestCase::Behavior
- was exposed as _view, which suggested it was private
- left view as an alias of view as not to break any extensions that are relying on view
[#4932 state:resolved]
Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/32b8be95331928990a61a43023a343...
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Referenced by
- 4932 Make view a formal API in action view test case [#4932 state:resolved]