Fix eq spec to not depend on at_xpath
This commit is contained in:
parent
5a736aa25c
commit
c6df73d031
|
@ -75,7 +75,7 @@ describe Oga::XPath::Compiler do
|
|||
end
|
||||
|
||||
it 'returns true if an axis and a string are equal' do
|
||||
element = @document.at_xpath('root/b')
|
||||
element = @document.children[0].children[1]
|
||||
|
||||
evaluate_xpath(element, '@class = "foo"').should == true
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue