diff options
author | Francis Irving <francis@mysociety.org> | 2010-06-09 08:04:12 +0100 |
---|---|---|
committer | Francis Irving <francis@mysociety.org> | 2010-06-09 08:04:12 +0100 |
commit | 03bbf5f3530ae929b1136e2f7d8d99e7b567f631 (patch) | |
tree | dba0de8abe913a18481808e57de5b74a0393184c /spec/controllers/track_controller_spec.rb | |
parent | 50b6066f76b4d38dc770a4bf45b42fa7c0ae0967 (diff) |
Make comment clearer
Diffstat (limited to 'spec/controllers/track_controller_spec.rb')
-rw-r--r-- | spec/controllers/track_controller_spec.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/controllers/track_controller_spec.rb b/spec/controllers/track_controller_spec.rb index 7ab1c0a70..af508e78b 100644 --- a/spec/controllers/track_controller_spec.rb +++ b/spec/controllers/track_controller_spec.rb @@ -45,8 +45,9 @@ describe TrackController, "when sending alerts for a track" do mail.body.should_not =~ /&/ # Check subscription managing link -# XXX We can't do this, as it is redirecting to another control, so this is a -# functional test. Bah, I so don't care, bit of an obsessive constraint. +# XXX We can't do this, as it is redirecting to another controller. I'm +# apparently meant to be writing controller unit tests here, not functional +# tests. Bah, I so don't care, bit of an obsessive constraint. # session[:user_id].should be_nil # 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 == users(:silly_name_user).id |