Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Simon White2,491 Points
No verbose error reporting
I noticed in this video, the teacher gets far more verbose error reporting from rspec, suggesting exactly what went wrong in the test.
I get very little output other than, for example,...
Finished in 0.44509 seconds 1 example, 1 failure
rspec ./spec/features/todo_items/index_spec.rb:5 # Viewing todo items displays no items when a todo list is empty
Any suggestions as to how I might get improved output?
Ken AlgerTreehouse Teacher
I'm not a Ruby or rspec wizard, but if memory serves you can use
--format documentation to adjust the output.
rspec --help would be a great place to look for additional options.
Maciej Czuchnowski36,437 Points
You get only this when simply writing
rspec`? The rest of the error messages, more detailed, should be ABOVE what you quoted here (among some deprecation warnings). You need to scroll the console up a bit.