Corrected :first-of-type eval spec.
This commit is contained in:
parent
f1d574f342
commit
e559b4b89b
|
@ -14,7 +14,7 @@ describe 'CSS selector evaluation' do
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
@a1 = @document.at_xpath('root/a[1]')
|
@a1 = @document.at_xpath('root/a[1]')
|
||||||
@a3 = @document.at_xpath('root/a[2]/a[2]')
|
@a3 = @document.at_xpath('root/a[2]/a[1]')
|
||||||
end
|
end
|
||||||
|
|
||||||
example 'return a node set containing all first <a> nodes' do
|
example 'return a node set containing all first <a> nodes' do
|
||||||
|
|
Loading…
Reference in New Issue