summaryrefslogtreecommitdiff
path: root/spec/features/projects/services/user_activates_irker_spec.rb
blob: 004aa116bb39442146a5641bc7ca66fa3f01b912 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe 'User activates irker (IRC gateway)' do
  include_context 'project service activation'

  it 'activates service', :js do
    visit_project_integration('irker (IRC gateway)')
    check('Colorize messages')
    fill_in('Recipients', with: 'irc://chat.freenode.net/#commits')

    click_test_then_save_integration(expect_test_to_fail: false)

    expect(page).to have_content('irker (IRC gateway) settings saved and active.')
  end
end