Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Ruby Build a Todo List Application with Rails 4 Build a Todo List Application with Rails 4 Adding Validations to Todo Items

Carlos Reyes
Carlos Reyes
30,056 Points

How to solve this failure with index.html.erb_spec.rb.

In the min 4:48 when I run bin/rake, I get 1 failure.

rspec ./spec/views/todo_lists/index.html.erb_spec.rb:17 # todo_lists/index renders a list of todo_lists

PD: This is my first question ever in these forums, I've been here only for a couple of months. I would appreciate if you can provide me with a tutorial link about posting questions, how to copy code, etc. I am doing these exercises with nano, I installed the treehouse VM for windows.

Regards

Provide as much of your code as you can. Click on 'Markdown Cheatsheet' for details of how to post code.

Carlos Reyes
Carlos Reyes
30,056 Points

Ty Andrew, I will check that link, I am very curious how to post code, in those formatted windows that look like screenshots. I dont even know if we have a name for them. :)

Brandon Barrette
Brandon Barrette
20,485 Points

Paste in your index.html.erb AND the index.html.erb_spec.rb file so we can help you.

Use the accent ` three times followed by ruby, paste your code, then end it with three more accents.

Carlos Reyes
Carlos Reyes
30,056 Points
#Add your code here, testing, testing