Permalink
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...
elliotcm committed May 11, 2010
1 parent 2e02f79 commit 2fb5b2b3223fd63e4308349e2e6cbed0e79e309b
Showing with 2 additions and 0 deletions.
  1. +2 −0 test/test_helper.rb
View
@@ -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.