diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-06-07 18:46:59 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-06-07 18:46:59 +0100 |
commit | 4d7753519608daba86e3449bae9662f04933b14d (patch) | |
tree | 12062a88d91a3aaaf29fe53d65625141f49d72db /spec/controllers/request_controller_spec.rb | |
parent | 3e703cef783eacdbe20a2c7f6fb64bea94d11d8f (diff) |
Remove reference to incoming message from purge request test - it brings in a requirement to have loaded the raw emails, which is tangential to what we're testing.
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 06862f5e2..a4e6fcffc 100644 --- a/spec/controllers/request_controller_spec.rb +++ b/spec/controllers/request_controller_spec.rb @@ -136,7 +136,7 @@ describe RequestController, "when changing things that appear on the request pag it "should purge the downstream cache when a followup is made" do session[:user_id] = users(:bob_smith_user).id ir = info_requests(:fancy_dog_request) - post :show_response, :outgoing_message => { :body => "What a useless response! You suck.", :what_doing => 'normal_sort' }, :id => ir.id, :incoming_message_id => incoming_messages(:useless_incoming_message), :submitted_followup => 1 + post :show_response, :outgoing_message => { :body => "What a useless response! You suck.", :what_doing => 'normal_sort' }, :id => ir.id, :submitted_followup => 1 PurgeRequest.all().first.model_id.should == ir.id end it "should purge the downstream cache when the request is categorised" do |