2 ms·
I agree with you completely. I mean, they want you to write "expect(some_thing).to be_true" and even more ornate stuff. I mean, why not "expect(some_thing)" o
by JohnBooty 7y ago
I agree with you completely.
I mean, they want you to write "expect(some_thing).to be_true" and even more ornate stuff.
I mean, why not "expect(some_thing)" or "expect(some_thing==true)"?
Rspec, Cucumber, etc. do have matchers that are helpful and more concise than idiomatic Plain Old Ruby but some of them are so basic and yet so ornate that they really seem like some kind of a joke.