17 lines
471 B
Ruby
17 lines
471 B
Ruby
# 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
|