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.

assert_template matches as a substring

#3855

Reported by Andreas Neuhaus · February 4th, 2010 @ 09:42 PM

State: invalid
Milestone: none
Assigned to: nobody
Importance: Low

Activity

  1. Andreas Neuhaus
    Andreas Neuhaus
    • Tag set to assertions, assert_template, test, unit

    assert_template matches the rendered template name as a substring

    E.g. if you do render :action => 'signup_failed', assert_template 'signup' passes.

    Is this considered a bug or intended behavior?

    February 4th, 2010 @ 09:46 PM

  2. Rohit Arondekar
    Rohit Arondekar
    • State changed from new to invalid
    • Importance changed from to Low

    I think it's intended behaviour. If it's not please try this on a new release or writing a failing test for Rails and I'll re-open.

    October 8th, 2010 @ 02:29 AM