Y
Hacker News
new
|
ask
|
show
|
jobs
by
ch4s3
531 days ago
I pity anyone needing to debug a fiddly Rspec problem in the next few years.
1 comments
ezekg
531 days ago
IIRC, 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.
link
ch4s3
530 days ago
I can totally see some add on gem for rspec breaking that assumption.
link