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 trialJeff Lau
13,627 Pointsvisit "/" test for when I am on the homepage is failing, with the following error message 'No route matches [GET] "/"'
Here is the full error.
No route matches [GET] "/" (ActionController::RoutingError)
./features/step_definitions/path_steps.rb:2:in /^I am on the home page$/'
features/blogging.feature:7:in
Given I am on the home page'
Could this have something to do with updated framesworks?
1 Answer
Seth Reece
32,867 PointsWhat's in your config/routes.rb file? This error says you don't have a root path. Something like:
root :to => 'posts#index'