Joined April 2013
·

Jeffrey Horn

Consultant at ARPC
·
Manassas, VA
·
·
·

Posted to Ruby web server one-liner over 1 year ago

Also, no need to assign the server instance (you can forego the s=... bit.

Posted to Test count of association, not class over 1 year ago

If you've scoped your controllers to only return Widgets owned by the current user, an integration test should pick up a failure. But, then again, you should probably have authorization tests for that, and this definitely works in a unit test. Great tip!

Achievements
88 Karma
0 Total ProTip Views