summaryrefslogtreecommitdiff
path: root/spec/features/projects/integrations/user_activates_asana_spec.rb
blob: 9ec9f00529a23576d7606079693020d90592c868 (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' 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