Welcome to mirror list, hosted at ThFree Co, Russian Federation.

oauth_callbacks_controller_spec.rb « jira_connect « requests « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 676b562c1937cfe3b1303e84a7d65e181597a99a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe JiraConnect::OauthCallbacksController, feature_category: :integrations do
  describe 'GET /-/jira_connect/oauth_callbacks' do
    context 'when logged in' do
      it 'renders a page prompting the user to close the window' do
        get '/-/jira_connect/oauth_callbacks'

        expect(response).to have_gitlab_http_status(:ok)
        expect(response.body).to include('You can close this window.')
      end
    end
  end
end