Hi all,
I'm not sure exactly where it is I'm going astray here, but I'm struggling with what seems like a pretty basic scenario. In my controller, I've got an action that can't be rendered. It does some stuff in the session and database and then redirects.
In my functional tests, I'm attempting to test this action but it's always failing because it can't find a template:
test:
def test_savejob_logged_out get :savejob, {:id => 1} end
error:
test_savejob_logged_out(CareersControllerTest): ActionController::MissingTemplate: Missing template /Users/ben/projects/jobapp/config/../app/views/careers/savejob.rhtml method assert_existence_of_template_file in base.rb at line 1034 ...snip...
What am I doing wrong? Is it really that uncommon to have an action that isn't rendered?
Thanks, Ben