You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It might be kind of cool to do something like this.
@user.must_be:valid?
I know this would be equal to.
assertuser.valid?
But it would be kind of nice to get the pretty output message given be supporting methods like #assert_operator. So I am suggesting that I could do a patch that would check the arity of the method and if only one is given and that method is a query method (ending in a "?") then it would do something like this.
asserto1.__send__(op),msg
Thoughts?
The text was updated successfully, but these errors were encountered:
LOL. For the record, I have never used RSpec nor want to.
But this did seem like a small neat idea. Besides, it would make for another awesome release note along the lines of TestCase.i_suck_and_my_tests_are_order_dependent! :)
It might be kind of cool to do something like this.
I know this would be equal to.
But it would be kind of nice to get the pretty output message given be supporting methods like #assert_operator. So I am suggesting that I could do a patch that would check the arity of the method and if only one is given and that method is a query method (ending in a "?") then it would do something like this.
Thoughts?
The text was updated successfully, but these errors were encountered: