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

14 lines
385 B
Ruby
Raw Normal View History

2020-06-23 00:09:42 +05:30
# frozen_string_literal: true
require 'spec_helper'
2020-07-28 23:09:34 +05:30
RSpec.describe Resolvers::ProjectMembersResolver do
2020-06-23 00:09:42 +05:30
include GraphqlHelpers
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