diff options
author | Tiago Botelho <tiagonbotelho@hotmail.com> | 2017-01-12 17:33:04 -0500 |
---|---|---|
committer | Tiago Botelho <tiagonbotelho@hotmail.com> | 2017-01-22 00:02:29 +0000 |
commit | 4b6e583ce0a395ec4a0dbc1a3a81680b1a0aa700 (patch) | |
tree | 909c9d8ed1351724eab3448d15cac74d84621d08 /spec/controllers/projects/services_controller_spec.rb | |
parent | cd51af1a991eaa5e16e3c6b94c89d90e20a5641f (diff) | |
download | gitlab-ce-4b6e583ce0a395ec4a0dbc1a3a81680b1a0aa700.tar.gz |
adds test suite22974-trigger-service-events-through-api
Diffstat (limited to 'spec/controllers/projects/services_controller_spec.rb')
-rw-r--r-- | spec/controllers/projects/services_controller_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/controllers/projects/services_controller_spec.rb b/spec/controllers/projects/services_controller_spec.rb index 2e44b5128b4..a6e708c01e4 100644 --- a/spec/controllers/projects/services_controller_spec.rb +++ b/spec/controllers/projects/services_controller_spec.rb @@ -54,6 +54,7 @@ describe Projects::ServicesController do context 'on successful update' do it 'sets the flash' do expect(service).to receive(:to_param).and_return('hipchat') + expect(service).to receive(:event_names).and_return(HipchatService.event_names) put :update, namespace_id: project.namespace.id, |