Removed compiler arity spec

This spec isn't very useful and breaks on 1.9 due to it apparently
handling arity values differently.
This commit is contained in:
Yorick Peterse 2015-08-30 01:55:31 +02:00
parent 435115c454
commit b74f8dc1a3
1 changed files with 0 additions and 7 deletions

View File

@ -40,13 +40,6 @@ describe Oga::XPath::Compiler do
block.lambda?.should == true block.lambda?.should == true
end end
it 'returns a Proc with a single required argument' do
ast = parse_xpath('foo')
# Only the input document is required.
@compiler.compile(ast).arity.should == -2
end
describe 'calling the compiled Proc' do describe 'calling the compiled Proc' do
it 'returns a NodeSet' do it 'returns a NodeSet' do
doc = parse('<foo></foo>') doc = parse('<foo></foo>')