Displaying 1 result from an estimated 1 matches for "adsfadf1".
2012 Feb 05
4
Rspec and restful routes
Hi all,
I''m trying to test that my users show page renders. The resource has
the route /users/:id
How would I code that for an Rspec test? So far I''ve tried these four
ways:
it "should have a users show path" do
get user_path(:action => ''show'')
end
it "should have a users show path" do
get user_show_path
end
it "should have