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

Nelly Nelly
Nelly Nelly
7,134 Points

Stuck on todo list rspec test....

Hello folks !

when I run rake spec I have this mistake

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

I first found out this topic https://teamtreehouse.com/community/todo-list-app-error And closed the missing tag but it didn't solve my problem...

I have pushed my repo on github... Maybe someone could help please ? https://github.com/knopfler81/odot

I cloned your repo and did some work; if you add me as a collaborator on your repo I can push the branch up and make a Pull Request for you. Github username is Yorkshireman.

Nelly Nelly
Nelly Nelly
7,134 Points

Thanks Andrew Stelmach,

I've found out how to add u :)

Hi Nelly Nelly - well done! You'll be pleased to know that I accepted your invite and pushed the branch up to your repo and created a Pull Request. Any further discussion should be done there using the 'conversation' feature on the actual Pull Request on Github.