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 trial

Ruby Build a Todo List Application with Rails 4 Build a Todo List Application with Rails 4 Write Our First Tests

New Todo list isn't updated after create_spec.rb is started.

I thought I followed along exactly but apparently I'm missing something. The todo list doesn't update to say New Todo list on the top of the page after I get started with create_spec.rb. My page still says 'Listing todo_lists' at the top. What am I missing?

require 'spec_helper'


describe "Creating todo lists" do 
    it "redirects to the todo list index page on success" do
        visit "/todo_lists"
        click_link "New Todo list"
    end
end
Seth Kroger
Seth Kroger
56,414 Points

This is for the page /todo_lists/new, not /todo_lists, correct?