2 ms·
> It seems to me that this could have been solved by a single method: expect_match(result, eq(3)). Except now you've circled back to the issue rspec originally
by masklinn 6y ago
> It seems to me that this could have been solved by a single method: expect_match(result, eq(3)).
Except now you've circled back to the issue rspec originally tried to solve: getting the result and the reference in the correct order.
While I care very little about rspec, that is definitely one thing to be said for it: the matcher system makes it extremely obvious and regular: you `expect` a (result) to (match) a (reference).