This has got to be a conflict with something in my current project, as a blank project using haml doesn't do this.
I notice that when running autotest, it loads the haml-edge gem... because I'm using compass, I assume. On Apr 29, 2:55 pm, tshim <[email protected]> wrote: > Thanks for listening. Here's the full trace: > > 1) Error: > test_should_get_index(RolesControllerTest): > ActionView::TemplateError: undefined method `check_encoding' for > #<Haml::Engine:0x1abd118> > In app/views/roles/index.html.haml > > /usr/local/lib/ruby/gems/1.8/gems/haml-edge-2.3.67/lib/haml/engine.rb: > 100:in `initialize' > /usr/local/lib/ruby/gems/1.8/gems/haml-edge-2.3.67/lib/haml/template/ > plugin.rb:21:in `new' > /usr/local/lib/ruby/gems/1.8/gems/haml-edge-2.3.67/lib/haml/template/ > plugin.rb:21:in `compile' > /usr/local/lib/ruby/gems/1.8/gems/haml-edge-2.3.67/lib/haml/helpers/ > action_view_mods.rb:13:in `render' > /usr/local/lib/ruby/gems/1.8/gems/haml-edge-2.3.67/lib/haml/helpers/ > action_view_mods.rb:13:in `render' > app/controllers/roles_controller.rb:7:in `index' > /test/functional/roles_controller_test.rb:5:in `test_should_get_index' > /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' > /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' > /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' > /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' > /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' > /usr/local/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' > /usr/local/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in > `run_suite' > /usr/local/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in > `start_mediator' > /usr/local/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in > `start' > /usr/local/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in > `run' > /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' > /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' > /usr/local/lib/ruby/1.8/test/unit.rb:278 > -e:2 > > 1 tests, 0 assertions, 0 failures, 1 errors > > -- > 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 > athttp://groups.google.com/group/haml?hl=en. -- 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.
