1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

use nokogirisax as a backend

Most likely someone just forgot to change it during copying and
pasting test cases from nokigiri engine test.
This commit is contained in:
Anton Kalyaev 2013-05-05 11:02:45 +04:00
parent 227768cbfe
commit 13c19c8de0

View file

@ -56,9 +56,9 @@ class NokogiriSAXEngineTest < ActiveSupport::TestCase
end
end
def test_setting_nokogiri_as_backend
XmlMini.backend = 'Nokogiri'
assert_equal XmlMini_Nokogiri, XmlMini.backend
def test_setting_nokogirisax_as_backend
XmlMini.backend = 'NokogiriSAX'
assert_equal XmlMini_NokogiriSAX, XmlMini.backend
end
def test_blank_returns_empty_hash