Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Make view a formal API in action view test case

#4932

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

Reported by David Chelimsky · June 22nd, 2010 @ 04:18 PM

State: resolved
Milestone: none
Assigned to: José Valim José Valim
Importance: none

Activity

  1. David Chelimsky
  2. Repository
    Repository
    • 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...

    June 23rd, 2010 @ 04:50 PM