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 on Rails

Hey, Does anybody know exactly which files were modified in between the ruby Intermedial social Features badge and the Advanced Social Features badge? So I can go back in and edit the correct files without having to look at every single file?

I edited a lot of stuff to my specification during the badges so I don't just want to replace all the files...

I went ahead and changed all of the files and only got one testing error in the User_friendships_controller_test file

it reads

1) Failure: 
test: #create when logged in with a valid friend_id should set the flash success message (UserFriendshipsControllerTest
<"Friend request sent."> expected but was
<"Friend request sent">.

Does anyone from just looking at that know where I possibly could have gone wrong?

That reads to me like you just missed a period in the user_friendship_controller create action? Something like-

def create
  flash[:success] = "Friend request sent."

I think would work. Just adding the period.


1 Answer

Yea I messed up something simple! I fixed it though and now back up and running..

thanks Twiz

Cool, been there for sure. Indescribable feeling when all tests pass!

Ha! You can say that again...especially when you decide to test all files with a bin/rake and they all work