This project is archived and is in readonly mode.

#2166 ✓invalid
Mike Perham

assert_template broken in 2.3.1

Reported by Mike Perham | March 8th, 2009 @ 02:17 AM | in 2.x

I have a 2.2.2 app which passes all tests. I change only the rails gem version to 2.3.1 in config/environment.rb and all tests still pass except for tests that use assert_template.

  get root_path
  assert_response :success
  p @response.rendered
  assert_template "homes/index"

{:template=>nil, :partials=>{}}
expecting <"homes/index"> but rendering with <"">

I'm rendering simple html erb templates here, nothing off the beaten path like strings or files.

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>

People watching this ticket