diff --git a/test/test_helper.rb b/test/test_helper.rb index 06e86d67..d3691aa1 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -76,7 +76,15 @@ class Test::Unit::TestCase def rails_form_opener return '' unless Haml::Util.ap_geq?("3.0.0.rc") - return '
' + if Haml::Util.ap_geq?("3.0.0.rc2") + encoding = 'utf8' + char = '✓' + else + encoding = '_snowman' + char = '☃' + end + return '
' end def assert_raise_message(klass, message)