Fable Tales

Results 18 comments of Fable Tales

I think it's better to differentiate what a block is for using the two different ways of declaring.

do end and {} bind differently if you leave out parenthases. Example: ``` class ExpectationTarget attr_reader :matcher, :target def initialize(target) @target = target end def to(matcher, &blk) p '------ in...

I guess it depends. Is this limited only to objective style, or causing good design to fall out of style guidelines?

pretty sure you're terrible

objective reason: minimizes meta programming.

Thanks for the clear issue @joshuap! I'm convinced this is a bug, but I don't have the time to work out the root cause right now. Hopefully more info soon.

1a7e923 is the actual commit which reproduces this issue. I am really struggling with git today. Sorry everyone.

> We could fix this with an additional check in the dynamic matcher, checking it's not a spy. 👍

Thoughts (in no particular order) > We could odd an option to RSpec::Mocks.verify that allows the caller to control if eager failures are re-raised or not. Then rspec-core could pick...