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 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