Regression from #245
Created by: myronmarston
This spec passed before #245 was merged but fails afterward:
it "does not complain if a no argument lambda block is provided and arguments are passed with the message" do
obj = Object.new
obj.stub(:foo, &lambda { 'bar' })
expect(obj.foo(1, 2)).to eq('bar')
end
We should fix it before the next release, but I want to wait until we merge #243 as it makes changes in the same area and fixing this would almost certainly cause a merge conflict.