In a new Rails 2.3.5 / Haml 2.23 / haml-edge 2.3.67 project my
generated functional tests are whining:

1) Error:
test_should_get_edit(RolesControllerTest):
ActionView::TemplateError: undefined method `check_encoding' for
#<Haml::Engine:0x18e19fc>
In app/views/roles/edit.html.haml


This doesn't happen when I just have .html.erb files in the relevant
view dir. Any idea why this error is being raised? Here's a sample
test:

require 'test_helper'

class RolesControllerTest < ActionController::TestCase

  test "should get edit" do
    get :edit, :id => roles(:one).to_param
    assert_response :success
  end

end

-- 
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/haml?hl=en.

Reply via email to