From 65deec2c6a9388d87a66e40a7b3a38adf16af6a4 Mon Sep 17 00:00:00 2001 From: Matthew Landauer Date: Mon, 4 Mar 2013 15:57:59 +1100 Subject: Record who changes the state --- spec/controllers/request_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 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 567add473..899ce9572 100644 --- a/spec/controllers/request_controller_spec.rb +++ b/spec/controllers/request_controller_spec.rb @@ -1268,7 +1268,7 @@ describe RequestController, "describe_state_requires_admin" do end it "should set the state when classified as requires_admin" do - info_request.should_receive(:set_described_state).with("requires_admin", nil, "Something weird happened") + info_request.should_receive(:set_described_state).with("requires_admin", user, "Something weird happened") post :describe_state_requires_admin, :message => "Something weird happened", :url_title => "info_request" end -- cgit v1.2.3