From 0538d26c15bd64a3b0c052a62f4d480e01b914bd Mon Sep 17 00:00:00 2001 From: Timm Date: Sat, 20 Jul 2013 13:14:23 +0200 Subject: Changed comparison from HTML::Node to Nokogiri::XML::Node in assert_select_encoded. --- actionpack/lib/action_dispatch/testing/assertions/selector.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib') diff --git a/actionpack/lib/action_dispatch/testing/assertions/selector.rb b/actionpack/lib/action_dispatch/testing/assertions/selector.rb index fe48de11d1..2c1ad76ba9 100644 --- a/actionpack/lib/action_dispatch/testing/assertions/selector.rb +++ b/actionpack/lib/action_dispatch/testing/assertions/selector.rb @@ -285,7 +285,7 @@ module ActionDispatch case element when Array elements = element - when HTML::Node + when Nokogiri::XML::Node elements = [element] when nil unless elements = @selected -- cgit v1.2.3