summaryrefslogtreecommitdiff
path: root/spec/features/projects/integrations/user_activates_asana_spec.rb
blob: b99ca2ebc1ca672c5be0e2679a2943f8ecc6f9e7 (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 Asana', feature_category: :integrations do
  include_context 'project integration activation'

  it 'activates integration', :js do
    visit_project_integration('Asana')
    fill_in('API key', with: 'verySecret')
    fill_in('Restrict to branch', with: 'verySecret')

    click_test_then_save_integration

    expect(page).to have_content('Asana settings saved and active.')
  end
end