test/functional/eft_16_if.rb in ruote-2.1.1 vs test/functional/eft_16_if.rb in ruote-2.1.2

- old
+ new

@@ -144,10 +144,14 @@ assert_trace(pdef, %w[ then else else else ]) end def test_xml_equals - require 'yajl' rescue require 'json' + begin + require 'yajl' + rescue LoadError + require 'json' + end Rufus::Json.detect_backend # making sure JSON dup is available in case of HashStorage pdef = %{ <?xml version="1.0"?>