4 ms·
I pity anyone needing to debug a fiddly Rspec problem in the next few years.
by ch4s3 2y ago
I pity anyone needing to debug a fiddly Rspec problem in the next few years.
- ezekg 2y agoIIRC, the decision was that it in a block is only ever called without arguments, e.g. map { it * 2 }, and it in Rspec is only ever called with arguments, e.g. it "describes a test" do ... end. So it ended up being a non-issue.
- ch4s3 2y agoI can totally see some add on gem for rspec breaking that assumption.