summaryrefslogtreecommitdiff
path: root/spec/features/projects/services/user_activates_asana_spec.rb
blob: 3e24d106be0701a5f874e340b2152cf066499ae0 (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 service activation'

  it 'activates service', :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 activated.')
  end
end