2019-10-12 21:52:04 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
require 'spec_helper'
|
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
RSpec.describe 'admin manage applications' do
|
2021-10-27 15:23:28 +05:30
|
|
|
let_it_be(:new_application_path) { new_admin_application_path }
|
|
|
|
let_it_be(:applications_path) { admin_applications_path }
|
2021-12-11 22:18:48 +05:30
|
|
|
let_it_be(:index_path) { admin_applications_path }
|
2021-10-27 15:23:28 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
before do
|
2021-02-22 17:27:13 +05:30
|
|
|
admin = create(:admin)
|
|
|
|
sign_in(admin)
|
|
|
|
gitlab_enable_admin_mode_sign_in(admin)
|
2017-08-17 22:00:37 +05:30
|
|
|
end
|
|
|
|
|
2021-10-27 15:23:28 +05:30
|
|
|
include_examples 'manage applications'
|
2017-08-17 22:00:37 +05:30
|
|
|
end
|