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
Will Lam
7,027 PointsUnit test not passing for Validating Uniqueness module
For some reason, even after triple checking to see if my code matched verbatim- I'm getting an error in the validating uniqueness module.
test/unit/user_test.rb:33: syntax error, unexpected keyword_end, expecting $end William-Lams-MacBook-Pro:treebook William$
Here's the user_test.rb code
Any idea of what's going on?
2 Answers
Yonatan Schultz
12,045 PointsLooks like you're missing your 'do' after the last test ("a user should have a unique...")
Will Lam
7,027 PointsThanks Yonatan