Corrected specs for the "parent" xpath axis.

This commit is contained in:
Yorick Peterse 2014-08-05 19:26:01 +02:00
parent fc1d9776f3
commit e34a1ed481
1 changed files with 2 additions and 2 deletions

View File

@ -27,9 +27,9 @@ describe Oga::XPath::Evaluator do
end
end
context 'matching nodes with parents using the short axis form' do
context 'matching nodes with parents using the short form' do
before do
@set = @evaluator.evaluate('a/b/parent::node()')
@set = @evaluator.evaluate('a/b/..')
end
it_behaves_like :node_set, :length => 1