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

Rails Custom_routes_test.rb

ruby -I test test/integration/custom_routes_test.rb Rack::File headers parameter replaces cache_control after Rack 1.5. Run options:

Running tests:

FFFF

Finished tests in 0.135338s, 29.5556 tests/s, 29.5556 assertions/s.

1) Failure: test_that_/login_route_opens_the_login_page(CustomRoutesTest) [test/integration/custom_routes_test.rb:6]: Expected response to be a <:success>, but was <404>

2) Failure: test_that_/logout_route_opens_the_log_out_page(CustomRoutesTest) [test/integration/custom_routes_test.rb:11]: Expected response to be a <:redirect>, but was <404>

3) Failure: test_that_/register_route_opens_the_sign_up_page(CustomRoutesTest) [test/integration/custom_routes_test.rb:17]: Expected response to be a <:success>, but was <404>

4) Failure: test_that_a_profile_page_works(CustomRoutesTest) [test/integration/custom_routes_test.rb:22]: Expected response to be a <:success>, but was <404>

4 tests, 4 assertions, 4 failures, 0 errors, 0 skips

1 Answer

Jason Seifer
STAFF
Jason Seifer
Treehouse Guest Teacher

Hi Andrew, did you have a specific question? Are you working through these errors? If so, drop a line to help@teamtreehouse.com with a zip archive of your treebook folder.