Skip to content

Commit

Permalink
Fix CI failure (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
thejchap authored and trotzig committed Feb 9, 2017
1 parent 55b409d commit 386a9cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/spec_helper.rb
Expand Up @@ -26,6 +26,7 @@ def method_from_description(example)
end

def args_for_method(method)
return [] if method.to_s == 'spop'
method_arity = @redises.real.method(method).arity
if method_arity < 0 # -1 comes from def foo(*args)
[1, 2] # probably good enough
Expand Down

0 comments on commit 386a9cb

Please sign in to comment.