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.

Ruby

Will Lam
Will Lam
7,027 Points

Writing Tests - Validating Presence no such file or directory --> user_test.rb

Hey guys,

Made it to the writing tests module and reached a stumbling block here.

I can't seem to execute the user_test.rb for some reason. Can anyone help shine some light on this?

Please see below.

https://www.evernote.com/shard/s51/sh/e535c3d1-843a-4e40-8072-016774bf33e4/bd8662a0bcdce325333da9ec6bc25e14

Thanks!

Will

3 Answers

Not sure, but do you need a / in front of the test dir?

Will Lam
Will Lam
7,027 Points

Hmm.. no success, Charles :(

Will Lam
Will Lam
7,027 Points

Ok.. I got it work ... I added an extra $ ... derp