Skip to content
Browse files

[HAML] Require template options in test helper.

Haml::Template is not lazy-loaded via normal tests
(such as the engine test).
  • Loading branch information...
1 parent 2e02f79 commit 2fb5b2b3223fd63e4308349e2e6cbed0e79e309b @elliotcm committed May 12, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 test/test_helper.rb
2 test/test_helper.rb
@@ -7,6 +7,8 @@
require 'haml'
require 'sass'
+require 'haml/template/options'
Haml::Template.options[:ugly] = false
Sass::RAILS_LOADED = true unless defined?(Sass::RAILS_LOADED)

0 comments on commit 2fb5b2b

Please sign in to comment.
Something went wrong with that request. Please try again.