Use "parse" instead of "parse_xml"

This commit is contained in:
Yorick Peterse 2015-07-02 23:16:05 +02:00
parent 337d126264
commit 6daff674d9
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ describe Oga::XPath::Compiler do
describe 'calling the compiled Proc' do
it 'returns a NodeSet' do
doc = parse_xml('<foo></foo>')
doc = parse('<foo></foo>')
ast = parse_xpath('foo')
block = @compiler.compile(ast)