mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-10 04:35:24 +00:00
use CGI.unescapeHTML instead of CGI::unescapeHTML in test/test_helper.rb as with previous revision
git-svn-id: http://svn.redmine.org/redmine/trunk@19709 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
56af84bf3c
commit
3711da2529
@ -238,7 +238,7 @@ class ActiveSupport::TestCase
|
||||
end
|
||||
|
||||
def assert_select_in(text, *args, &block)
|
||||
d = Nokogiri::HTML(CGI::unescapeHTML(String.new(text))).root
|
||||
d = Nokogiri::HTML(CGI.unescapeHTML(String.new(text))).root
|
||||
assert_select(d, *args, &block)
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user