Welcome to the Treehouse Community
Looking to learn something new?
Alice Huang20,335 Points
Failure/Error after running bin/rake
2) 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.. <0> expected but was <2>. # ./spec/views/todo_lists/index.html.erb_spec.rb:20:in `block (2 levels) in <top (required)>'
I actually got this at the end of the last course for this project. Haven't been able to figure it out so far. Can anyone please help?
John SimoneauCourses Plus Student 8,105 Points
I believe this particular error is fixed by making the change on the
spec/views/todo_lists/index.html.erb_spec.rb file here
Came across this link by Jim Withington in another thread that highlights some of the discrepancies of the project files and our own files from the ODOT project...
That's the part that fixed it for me anyway...