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

General Discussion

Ruby on Rails Todo list app

I am running into these errors when I rake the project. Any idea what this could be? Failures:

1) todo_lists/index renders a list of todo_lists Failure/Error: assert_select "tr>td", :text => "Title".to_s, :count => 2 Minitest::Assertion: Expected exactly 2 elements matching "tr > td", found 0.. Expected: 2 Actual: 0 # ./spec/views/todo_lists/index.html.erb_spec.rb:20:in `block (2 levels) in <top (required)>'

2) Viewing todo items displays the title of the todo list Failure/Error: expect(page).to have_content(todo_list.title) expected to find text "Grocery list" in "ODOT ODOT Projects Project Items Completed ? Content Functions New Todo Item" # ./spec/features/todo_items/index_spec.rb:16:in `block (2 levels) in <top (required)>'

3) Completing todo items with completed items does not give the option to mark complete Failure/Error: expect(page).to_not have_content("Mark Complete") expected not to find text "Mark Complete" in "Mark Complete Milk Edit Delete" # ./spec/features/todo_items/complete_spec.rb:37:in block (4 levels) in <top (required)>' # ./spec/features/todo_items/complete_spec.rb:36:inblock (3 levels) in <top (required)>'