2020-07-28 23:09:34 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
2023-03-04 22:38:38 +05:30
|
|
|
RSpec.describe 'getting a package list for a project', feature_category: :package_registry do
|
2020-07-28 23:09:34 +05:30
|
|
|
include GraphqlHelpers
|
|
|
|
|
2021-04-17 20:07:23 +05:30
|
|
|
let_it_be(:resource) { create(:project, :repository) }
|
2020-07-28 23:09:34 +05:30
|
|
|
let_it_be(:current_user) { create(:user) }
|
2021-06-08 01:23:25 +05:30
|
|
|
let_it_be(:project1) { resource }
|
|
|
|
let_it_be(:project2) { resource }
|
2021-03-11 19:13:27 +05:30
|
|
|
|
2021-06-08 01:23:25 +05:30
|
|
|
let(:resource_type) { :project }
|
2020-07-28 23:09:34 +05:30
|
|
|
|
2021-04-17 20:07:23 +05:30
|
|
|
it_behaves_like 'group and project packages query'
|
2020-07-28 23:09:34 +05:30
|
|
|
end
|