aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'spec/controllers')
-rw-r--r--spec/controllers/request_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
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