diff --git a/test/unit/dom_test.js b/test/unit/dom_test.js index fa9abb1..b128656 100644 --- a/test/unit/dom_test.js +++ b/test/unit/dom_test.js @@ -385,11 +385,11 @@ new Test.Unit.Runner({ $('testoption-replace').replace(''); this.assert($('testoption-replace-container').innerHTML.include('hello')); - - $('testinput-replace').replace('
hello world
'); + + Element.replace('testinput-replace', 'hello world
'); this.assertEqual('hello world
', getInnerHTML('testform-replace')); - $('testform-replace').replace(''); + Element.replace('testform-replace', ''); this.assertEqual('some text
some text
', getInnerHTML('testform-replace-container')); },