From b74f8dc1a35a6ee9bf017f992b71c97ecbad7905 Mon Sep 17 00:00:00 2001 From: Yorick Peterse Date: Sun, 30 Aug 2015 01:55:31 +0200 Subject: [PATCH] Removed compiler arity spec This spec isn't very useful and breaks on 1.9 due to it apparently handling arity values differently. --- spec/oga/xpath/compiler_spec.rb | 7 ------- 1 file changed, 7 deletions(-) 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('')