The smell is stubbing the System Under Test (SUT).
Last active
November 23, 2015 19:13
-
-
Save r00k/c5781e2cb3326efeca17 to your computer and use it in GitHub Desktop.
Quizzy Question 3
Is there a more direct way to accomplish this?
In particular, is there a way we can avoid that block argument?
users.select { |u| u.admin? }
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment