Forum: Ruby on Rails Testing routes / index.html

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Josh on Rails (Guest)
on 2006-12-27 23:07
(Received via mailing list)
I have a plain HTML "landing page" for my app. Maybe it's silly, but
I'd like to have an integration test that confirms this is functioning
as intended. I would have thought this doable, but ...

def test_basic
    get 'index'
    assert_response :success
    assert_template 'index.html'

... doesn't actually work. The response is <404> and the template
handler is routing_error.html.

Can someone enlighten me here?

(This is Rails 1.1.6, not edge, if that makes a difference...)
This topic is locked and can not be replied to.