2021-10-27 15:23:28 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
2023-03-04 22:38:38 +05:30
|
|
|
RSpec.describe 'User manages applications', feature_category: :subgroups do
|
2021-10-27 15:23:28 +05:30
|
|
|
let_it_be(:group) { create(:group) }
|
|
|
|
let_it_be(:user) { create(:user) }
|
|
|
|
let_it_be(:new_application_path) { group_settings_applications_path(group) }
|
2021-12-11 22:18:48 +05:30
|
|
|
let_it_be(:index_path) { group_settings_applications_path(group) }
|
2021-10-27 15:23:28 +05:30
|
|
|
|
|
|
|
before do
|
|
|
|
group.add_owner(user)
|
|
|
|
sign_in(user)
|
|
|
|
end
|
|
|
|
|
|
|
|
include_examples 'manage applications'
|
|
|
|
end
|