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

Getting a failed assertion everytime I run a user test in ruby

I changed the code to ( /[a-ZA-Z0-9_-/]+/ ) in the user.rb file , but I keep getting a failure everytime I run ruby -Itest test/unit/user_test.rb

Copied the exact code from the build a ruby app video into the user_test.rb file.

3 Answers

If this is the section I think it is, that's a persistent error that will get solved when you get into the next chapter. I made a note of it and carried on...

Thanks Alexander, I just ran into this same problem but will carry on! :)

Jim Hoskins
STAFF
Jim Hoskins
Treehouse Guest Teacher

I believe this is an error that gets addressed later on. I'm not entirely familiar with this video, but if you could post your exact error or failure message, we can take a look at it.