test/func.rb in ox-1.2.13 vs test/func.rb in ox-1.2.14
- old
+ new
@@ -353,10 +353,10 @@
obj = Ox.load(xml) # should convert it to an object
assert_equal("test", obj)
end
def test_IO
- f = File.open("func.rb", "r")
+ f = File.open(__FILE__, "r")
assert_raise(NotImplementedError) {
xml = Ox.dump(f, :effort => :strict)
}
xml = Ox.dump(f, :effort => :tolerant)
obj = Ox.load(xml, :mode => :object) # should convert it to an object