Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
ch4s3
1y ago
0 comments
Share
I pity anyone needing to debug a fiddly Rspec problem in the next few years.
undefined | Better HN
0 comments
default
newest
oldest
ezekg
1y 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.
ch4s3
OP
1y ago
I can totally see some add on gem for rspec breaking that assumption.
j
/
k
navigate · click thread line to collapse