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

Marie Veverka
Marie Veverka
12,117 Points

My tests for the Validating Length lesson aren't passing?

Hi there, I just finished the Validating length tutorial and my tests still won't pass. I have checked them against the project files and everything is the same, and I also checked my todo_list.rb and everything matches. Here are the errors I am receiving:

rspec ./spec/features/todo_lists/create_spec.rb:70 # Creating todo lists displays an error when the todo list has no description rspec ./spec/features/todo_lists/create_spec.rb:34 # Creating todo lists displays an error when the todo list has a title less than 3 characters rspec ./spec/features/todo_lists/create_spec.rb:52 # Creating todo lists displays an error when the todo list has no description

Any idea what might be happening? Thanks!

3 Answers

Jason Seifer
STAFF
Jason Seifer
Treehouse Guest Teacher

Hey Marie Veverka can you post a link to your code so we can take a look?

Marie Veverka
Marie Veverka
12,117 Points

Of course! Thanks Jason!
Here is the link to that app on my github account: https://github.com/ternstyl/odot

Jason Seifer
STAFF
Jason Seifer
Treehouse Guest Teacher

Hey Marie Veverka I'm really sorry for the slow response! I just cloned your odot repository and those tests ran just fine. We fix the other ones with CSS selectors in future videos :)