diff --git a/spec/oga/xpath/compiler_spec.rb b/spec/oga/xpath/compiler_spec.rb index 8503ce7..0d690ce 100644 --- a/spec/oga/xpath/compiler_spec.rb +++ b/spec/oga/xpath/compiler_spec.rb @@ -40,13 +40,6 @@ describe Oga::XPath::Compiler do block.lambda?.should == true 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 it 'returns a NodeSet' do doc = parse('')