diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-03-04 15:57:59 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-03-04 15:57:59 +1100 |
commit | 65deec2c6a9388d87a66e40a7b3a38adf16af6a4 (patch) | |
tree | 52082f2e7a777005d3177306c09f1aa2b7ee7601 /spec/controllers | |
parent | f60ada47d4e7aabe0dce152109cb0d91865929da (diff) |
Record who changes the state
Diffstat (limited to 'spec/controllers')
-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 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 |