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 trialBrett Huber
13,479 PointsCode Challenge: Creating the pofiles controller task 1
hello,
I'm stuck on the first part of this task.. the goal is to:
As part of this test, add a get to the show page with the id parameter set to the profile name of the fixture for 'mikethefrog'.
I have tried:
test "should get show" do get :show, :id users(:mikethefrog).profile_name end
test "should get show" do get :show, :id "mikethefrog" end
and countless other things and it still will not let me pass. I have ran out of ideas.
Anyone have any sugestions?
1 Answer
hlias kantzos
19,191 Pointstest "should get show" do get :show, id : <-- users(:mikethefrog).profile_name end