This project is archived and is in readonly mode.

#4501 ✓resolved
David Chelimsky

assert_template :symbol always passes, even when it should fail

Reported by David Chelimsky | April 29th, 2010 @ 07:19 PM | in 3.0.2

  get :new
  assert_template 'new'  # passes correctly
  assert_template :new   # passes correctly, but totally by accident
  assert_template :other # passes erroneously

This commit fixes the problem:

This commit restructures the tests a bit:

I kept them separate in case you prefer to leave the test structure as/is, in which case just grab the first commit.

Comments and changes to this ticket

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=""></a>

Referenced by