This project is archived and is in readonly mode.
assert_template matches as a substring
Reported by Andreas Neuhaus | February 4th, 2010 @ 09:42 PM
Comments and changes to this ticket
-
Andreas Neuhaus February 4th, 2010 @ 09:46 PM
- 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?
-
Rohit Arondekar October 8th, 2010 @ 02:29 AM
- 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.
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>