My Ruby is a bit rusty, but it looks like the tests are testing whether the method returns true or not. What would it look like to test that the side effects executed as intended?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
My Ruby is a bit rusty, but it looks like the tests are testing whether the method returns true or not. What would it look like to test that the side effects executed as intended?