2020-06-23 00:09:42 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
2022-10-11 01:57:18 +05:30
|
|
|
RSpec.describe 'Resolvers::ProjectMembersResolver' do
|
2020-06-23 00:09:42 +05:30
|
|
|
include GraphqlHelpers
|
|
|
|
|
2022-10-11 01:57:18 +05:30
|
|
|
let(:described_class) { Resolvers::ProjectMembersResolver }
|
|
|
|
|
2020-11-24 15:15:51 +05:30
|
|
|
it_behaves_like 'querying members with a group' do
|
|
|
|
let_it_be(:project) { create(:project, group: group_1) }
|
|
|
|
let_it_be(:resource_member) { create(:project_member, user: user_1, project: project) }
|
|
|
|
let_it_be(:resource) { project }
|
2020-06-23 00:09:42 +05:30
|
|
|
end
|
|
|
|
end
|