summaryrefslogtreecommitdiff
path: root/spec/features/projects/integrations/user_activates_irker_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/projects/integrations/user_activates_irker_spec.rb')
-rw-r--r--spec/features/projects/integrations/user_activates_irker_spec.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/spec/features/projects/integrations/user_activates_irker_spec.rb b/spec/features/projects/integrations/user_activates_irker_spec.rb
new file mode 100644
index 00000000000..23b5f2a5c47
--- /dev/null
+++ b/spec/features/projects/integrations/user_activates_irker_spec.rb
@@ -0,0 +1,17 @@
+# frozen_string_literal: true
+
+require 'spec_helper'
+
+RSpec.describe 'User activates irker (IRC gateway)' do
+ include_context 'project integration activation'
+
+ it 'activates integration', :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