From e34a1ed48136c68a11c3fc76c2060aa50344e59c Mon Sep 17 00:00:00 2001 From: Yorick Peterse Date: Tue, 5 Aug 2014 19:26:01 +0200 Subject: [PATCH] Corrected specs for the "parent" xpath axis. --- spec/oga/xpath/evaluator/axes/parent_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/oga/xpath/evaluator/axes/parent_spec.rb b/spec/oga/xpath/evaluator/axes/parent_spec.rb index 26eb34e..801be4f 100644 --- a/spec/oga/xpath/evaluator/axes/parent_spec.rb +++ b/spec/oga/xpath/evaluator/axes/parent_spec.rb @@ -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