2019-07-25 01:24:42 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-09-22 00:42:52 -04:00
|
|
|
require 'spec_helper'
|
|
|
|
|
|
|
|
describe 'User activates Irker (IRC gateway)' do
|
2020-04-06 05:09:17 -04:00
|
|
|
include_context 'project service activation'
|
2017-09-22 00:42:52 -04:00
|
|
|
|
2020-04-06 05:09:17 -04:00
|
|
|
it 'activates service', :js do
|
|
|
|
visit_project_integration('Irker (IRC gateway)')
|
2017-09-22 00:42:52 -04:00
|
|
|
check('Colorize messages')
|
|
|
|
fill_in('Recipients', with: 'irc://chat.freenode.net/#commits')
|
2020-04-06 05:09:17 -04:00
|
|
|
|
|
|
|
click_test_integration
|
2017-09-22 00:42:52 -04:00
|
|
|
|
|
|
|
expect(page).to have_content('Irker (IRC gateway) activated.')
|
|
|
|
end
|
|
|
|
end
|