Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialEdward Poon
9,313 PointsConfused about one of the tests
I am looking at the test for "display the friend's name". In that context, it passes the user named jim's id to the new method in the user_friendships_controller. I know that jason is accessing the user named him which is in the test/fixtures/users.yml but there is no id associated to that user. How is he getting the id? Where does it come from?
Thanks,
Edward
1 Answer
jason blesing
256 PointsIt "is simple"() Don't follow this series of tutorials. The spec gem is terrible and uses way to much code to accomplish little things. Check out my ranting thread on https://teamtreehouse.com/forum/make-your-website-half-decent-so-your-users-can-learn-something
Maciej Czuchnowski
36,441 PointsMaciej Czuchnowski
36,441 PointsThis topic refers to a completely different course.