diff options
author | francis <francis> | 2008-11-07 17:11:37 +0000 |
---|---|---|
committer | francis <francis> | 2008-11-07 17:11:37 +0000 |
commit | 007ecedb11ba67a385979b52ffff1804c553a0f1 (patch) | |
tree | be6180309b47a3dd11709c582a77a8333ce5e587 /spec/controllers/request_controller_spec.rb | |
parent | 315603da2e3f077bf0f8a70a870208de6c2606fa (diff) |
Fix of test.
Diffstat (limited to 'spec/controllers/request_controller_spec.rb')
-rw-r--r-- | spec/controllers/request_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/request_controller_spec.rb b/spec/controllers/request_controller_spec.rb index 18e686a07..0e214e473 100644 --- a/spec/controllers/request_controller_spec.rb +++ b/spec/controllers/request_controller_spec.rb @@ -253,7 +253,7 @@ describe RequestController, "when classifying an individual response" do info_requests(:fancy_dog_request).awaiting_description.should == true session[:user_id] = users(:bob_smith_user).id post :describe_state, :incoming_message => { :described_state => "rejected" }, :id => info_requests(:fancy_dog_request).id, :incoming_message_id => incoming_messages(:useless_incoming_message), :last_info_request_event_id => info_request_events(:silly_comment_event).id, :submitted_describe_state => 1 - response.should redirect_to(:controller => 'help', :action => 'unhappy') + response.should redirect_to(:controller => 'help', :action => 'unhappy', :url_title => info_requests(:fancy_dog_request).url_title) info_requests(:fancy_dog_request).reload info_requests(:fancy_dog_request).awaiting_description.should == false info_requests(:fancy_dog_request).described_state.should == 'rejected' |