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 trialMark Thomas
8,174 Points`has_secure_password` doesn't cause all tests to fail
When I run rspec
to run my tests without the has_secure_password
method in the user.rb model, not all my tests fail. One does, but it's the before_save
test that throws a false error, not the other errors that show in the video. Does anyone have any idea why? I do know that I am using a newer version of rspec, since I encountered a few tiny syntax differences (to_be
is to be
in rspec latest)
David Curtis
11,301 PointsDavid Curtis
11,301 Pointsi would post the code from the test so we can have a look