debian-mirror-gitlab/spec/features/projects/services/user_activates_irker_spec.rb

18 lines
502 B
Ruby
Raw Normal View History

2019-10-12 21:52:04 +05:30
# frozen_string_literal: true
2018-03-17 18:26:18 +05:30
require 'spec_helper'
2021-10-27 15:23:28 +05:30
RSpec.describe 'User activates irker (IRC gateway)' do
2020-04-22 19:07:51 +05:30
include_context 'project service activation'
2018-03-17 18:26:18 +05:30
2020-04-22 19:07:51 +05:30
it 'activates service', :js do
2021-10-27 15:23:28 +05:30
visit_project_integration('irker (IRC gateway)')
2018-03-17 18:26:18 +05:30
check('Colorize messages')
fill_in('Recipients', with: 'irc://chat.freenode.net/#commits')
2020-04-22 19:07:51 +05:30
2020-11-24 15:15:51 +05:30
click_test_then_save_integration(expect_test_to_fail: false)
2018-03-17 18:26:18 +05:30
2021-10-27 15:23:28 +05:30
expect(page).to have_content('irker (IRC gateway) settings saved and active.')
2018-03-17 18:26:18 +05:30
end
end