2019-07-25 01:24:42 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2016-12-16 06:45:52 -05:00
|
|
|
require 'spec_helper'
|
|
|
|
|
2017-06-29 00:13:10 -04:00
|
|
|
RSpec.describe 'admin manage applications' do
|
2021-08-13 08:10:58 -04:00
|
|
|
let_it_be(:new_application_path) { new_admin_application_path }
|
|
|
|
let_it_be(:applications_path) { admin_applications_path }
|
2021-11-04 11:10:58 -04:00
|
|
|
let_it_be(:index_path) { admin_applications_path }
|
2021-08-13 08:10:58 -04:00
|
|
|
|
2016-12-16 06:45:52 -05:00
|
|
|
before do
|
2020-11-23 10:09:37 -05:00
|
|
|
admin = create(:admin)
|
|
|
|
sign_in(admin)
|
|
|
|
gitlab_enable_admin_mode_sign_in(admin)
|
2016-12-16 06:45:52 -05:00
|
|
|
end
|
|
|
|
|
2021-08-13 08:10:58 -04:00
|
|
|
include_examples 'manage applications'
|
2016-12-16 06:45:52 -05:00
|
|
|
end
|