Rails3.1: test: include ERB::Util in unit/helpers/search_helper_test.rb

undefined method `h' error raises on Rails 3.1.3 and Ruby 1.8.7.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8467 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2012-01-02 09:07:57 +00:00
parent e7de511bbc
commit 1b61fbf739

View File

@ -21,6 +21,7 @@ require File.expand_path('../../../test_helper', __FILE__)
class SearchHelperTest < ActionView::TestCase
include SearchHelper
include ERB::Util
def test_highlight_single_token
assert_equal 'This is a <span class="highlight token-0">token</span>.',