diff options
author | Timm <kaspth@gmail.com> | 2013-07-20 13:14:23 +0200 |
---|---|---|
committer | Timm <kaspth@gmail.com> | 2014-06-15 23:40:57 +0200 |
commit | 0538d26c15bd64a3b0c052a62f4d480e01b914bd (patch) | |
tree | 770d74a4f4690a7e63a71a3f4ec2e08345b5d6f5 /actionpack/lib/action_dispatch/testing/assertions | |
parent | 3b942d36bcaac364096ebb3248c1fc66dd269677 (diff) | |
download | rails-0538d26c15bd64a3b0c052a62f4d480e01b914bd.tar.gz rails-0538d26c15bd64a3b0c052a62f4d480e01b914bd.tar.bz2 rails-0538d26c15bd64a3b0c052a62f4d480e01b914bd.zip |
Changed comparison from HTML::Node to Nokogiri::XML::Node in assert_select_encoded.
Diffstat (limited to 'actionpack/lib/action_dispatch/testing/assertions')
-rw-r--r-- | actionpack/lib/action_dispatch/testing/assertions/selector.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |