Commit 2fd414cb authored by Justin Ho's avatar Justin Ho Committed by Arturo Herrero

Update specs to exclude HipChat integration

parent 0a6437f4
......@@ -12,10 +12,10 @@ RSpec.describe 'Disable individual triggers', :js do
end
context 'service has multiple supported events' do
let(:service_name) { 'HipChat' }
let(:service_name) { 'Jenkins CI' }
it 'shows trigger checkboxes' do
event_count = HipchatService.supported_events.count
event_count = JenkinsService.supported_events.count
expect(page).to have_content "Trigger"
expect(page).to have_css(checkbox_selector, visible: :all, count: event_count)
......
......@@ -42,7 +42,7 @@ RSpec.describe API::Services do
end
end
Service.available_services_names.each do |service|
(Service.available_services_names - Project.new.disabled_services).each do |service|
describe "PUT /projects/:id/services/#{service.dasherize}" do
include_context service
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment