Corrected specs for the "parent" xpath axis.
This commit is contained in:
parent
fc1d9776f3
commit
e34a1ed481
|
@ -27,9 +27,9 @@ describe Oga::XPath::Evaluator do
|
||||||
end
|
end
|
||||||
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
|
before do
|
||||||
@set = @evaluator.evaluate('a/b/parent::node()')
|
@set = @evaluator.evaluate('a/b/..')
|
||||||
end
|
end
|
||||||
|
|
||||||
it_behaves_like :node_set, :length => 1
|
it_behaves_like :node_set, :length => 1
|
||||||
|
|
Loading…
Reference in New Issue