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

the Visit method undefined

this is not actually a question but a hint, for someone who encountred the same probleme as me when running the command in the console

rspec spec/features/todo_lists/create_spec.rb

and didnt work cause he's using the latests versions of rails and rspec.

you could actually notice before all that, that in your spec folder, there is actually two files instead of one, "rails-helper" and "spec-helper", and the content of "spec-helper" in the course is actually moved into the "rails-helper" file in the new version of rspec. so what you have to do to get the method "visit" recognised, is by typing

require 'spec_helper'

in the "create_spec.rb" file.