aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/request_controller_spec.rb
diff options
context:
space:
mode:
authorfrancis <francis>2008-10-17 16:51:40 +0000
committerfrancis <francis>2008-10-17 16:51:40 +0000
commit3be16a9ab0041afb9270f35274d3f090e14fa684 (patch)
tree5ed6b539fa6dfa7544082065e40440fc5d09b79d /spec/controllers/request_controller_spec.rb
parent9c69d35afb1157b9011b13ce1c51fd1afb107ad2 (diff)
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.
Diffstat (limited to 'spec/controllers/request_controller_spec.rb')
-rw-r--r--spec/controllers/request_controller_spec.rb3
1 files changed, 2 insertions, 1 deletions
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