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

Ivan Dimitrov
Ivan Dimitrov
10,587 Points

Problem with tests

Yesterday when running the tests everything was OK, but today I get this strange error, I couldn't fix.

ActionView::Template::Error: No route matches {:action=>"show", :controller=>"user_friendships"}

I have installed Factory Girl and migrated database. Also I have run rake db:test:prepare

1 Answer

Ivan Dimitrov
Ivan Dimitrov
10,587 Points

Sorry, I had a typo in the application.html.erb file in the user_friendships_path.

That fixed it.