diff options
Diffstat (limited to 'spec/features/projects/integrations/user_activates_jira_spec.rb')
-rw-r--r-- | spec/features/projects/integrations/user_activates_jira_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/features/projects/integrations/user_activates_jira_spec.rb b/spec/features/projects/integrations/user_activates_jira_spec.rb index f855d6befe7..dad201ffbb6 100644 --- a/spec/features/projects/integrations/user_activates_jira_spec.rb +++ b/spec/features/projects/integrations/user_activates_jira_spec.rb @@ -20,7 +20,7 @@ RSpec.describe 'User activates Jira', :js do it 'activates the Jira integration' do expect(page).to have_content('Jira settings saved and active.') - expect(page).to have_current_path(edit_project_integration_path(project, :jira), ignore_query: true) + expect(page).to have_current_path(edit_project_settings_integration_path(project, :jira), ignore_query: true) end unless Gitlab.ee? @@ -55,13 +55,13 @@ RSpec.describe 'User activates Jira', :js do click_test_then_save_integration expect(page).to have_content('Jira settings saved and active.') - expect(page).to have_current_path(edit_project_integration_path(project, :jira), ignore_query: true) + expect(page).to have_current_path(edit_project_settings_integration_path(project, :jira), ignore_query: true) end end end describe 'user disables the Jira integration' do - include JiraServiceHelper + include JiraIntegrationHelpers before do stub_jira_integration_test @@ -72,7 +72,7 @@ RSpec.describe 'User activates Jira', :js do it 'saves but does not activate the Jira integration' do expect(page).to have_content('Jira settings saved, but not active.') - expect(page).to have_current_path(edit_project_integration_path(project, :jira), ignore_query: true) + expect(page).to have_current_path(edit_project_settings_integration_path(project, :jira), ignore_query: true) end it 'does not show the Jira link in the menu' do |