blob: 7cfc2db5a41b69f4b385e4377b3b23f1a39424ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe 'admin/application_settings/_jira_connect.html.haml' do
let_it_be(:admin) { create(:admin) }
let(:application_setting) { build(:application_setting) }
before do
assign(:application_setting, application_setting)
allow(view).to receive(:expanded).and_return(true)
end
it 'renders the application ID field' do
render
expect(rendered).to have_field('Jira Connect Application ID', type: 'text')
end
it 'renders the asymmetric jwt cdn url field' do
render
expect(rendered).to have_field('Jira Connect Proxy URL', type: 'text')
end
end
|