debian-mirror-gitlab/spec/requests/jira_connect/oauth_callbacks_controller_spec.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
498 B
Ruby
Raw Permalink Normal View History

2022-05-07 20:08:51 +05:30
# frozen_string_literal: true
require 'spec_helper'
2023-03-04 22:38:38 +05:30
RSpec.describe JiraConnect::OauthCallbacksController, feature_category: :integrations do
2022-05-07 20:08:51 +05:30
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