xaviershay/rspec-fire — pull request #11 by myronmarston (2012-03-28 03:13:42+00:00)
Title: Don't count block params when determining the max arity.

Before this change, the following worked improperly:

class A
def m(a, &b)
end
end

fire_double("A").stub(:m).with(:two, :arguments)

The block arg was counted previously so this passed even though it should not.