From 3be16a9ab0041afb9270f35274d3f090e14fa684 Mon Sep 17 00:00:00 2001 From: francis Date: Fri, 17 Oct 2008 16:51:40 +0000 Subject: Use link to main request page with # ref in emails announcing new responses. Deprecate completely the describe_state view - just use it as a controller action which does the state description. --- spec/controllers/request_controller_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'spec/controllers/request_controller_spec.rb') diff --git a/spec/controllers/request_controller_spec.rb b/spec/controllers/request_controller_spec.rb index 093eb91c4..31fcfe7e4 100644 --- a/spec/controllers/request_controller_spec.rb +++ b/spec/controllers/request_controller_spec.rb @@ -376,8 +376,9 @@ describe RequestController, "sending unclassified new response reminder alerts" controller.test_code_redirect_by_email_token(mail_token, self) # XXX hack to avoid having to call User controller for email link session[:user_id].should == info_requests(:fancy_dog_request).user.id - response.should render_template('describe_state') + response.should render_template('show') assigns[:info_request].should == info_requests(:fancy_dog_request) + # XXX should check anchor tag here :) that it goes to last new response end end -- cgit v1.2.3