diff options
author | Louise Crow <louise.crow@gmail.com> | 2012-09-11 09:40:05 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2012-09-11 09:40:05 +0100 |
commit | 927e97c57725a424eb4fb25f3f4a1a758e9b7728 (patch) | |
tree | f2c7d8686e9b42149a0e1b667f06fa1a1eba092f | |
parent | 2cdd8e254cd5bb7bf309df94f7c0c45759aeb71b (diff) |
Bugfix in spec.
-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 ce3f069a4..95737a250 100644 --- a/spec/controllers/request_controller_spec.rb +++ b/spec/controllers/request_controller_spec.rb @@ -1325,7 +1325,7 @@ describe RequestController, "when classifying an information request" do it 'should record a classification' do event = mock_model(InfoRequestEvent) - @dog_request.stub!(:log_event).with("status_update", expected_params).and_return(event) + @dog_request.stub!(:log_event).with("status_update", anything()).and_return(event) RequestClassification.should_receive(:create!).with(:user_id => @admin_user.id, :info_request_event_id => event.id) post_status('rejected') |