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

Simon White
Simon White
2,491 Points

Testing error: Adding items to to-do list stores blank item.

Hi,

I came across this error while writing the rspec tests for adding items to one of my todo lists.

Basically, adding any item to the todo list seems to add the item, but it isn't recording the content of the item. Simply displays all items as blank.

Any ideas where I might start looking for the problem?

Simon

Maciej Czuchnowski
Maciej Czuchnowski
36,441 Points

Can you post your spec code and the error you're getting?