debian-mirror-gitlab/spec/graphql/resolvers/project_members_resolver_spec.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
450 B
Ruby
Raw Normal View History

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