2020-06-04 11:08:21 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
2020-06-26 05:08:59 -04:00
|
|
|
RSpec.describe Resolvers::ProjectMembersResolver do
|
2020-06-04 11:08:21 -04:00
|
|
|
include GraphqlHelpers
|
|
|
|
|
2020-09-14 11:09:28 -04:00
|
|
|
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-04 11:08:21 -04:00
|
|
|
end
|
|
|
|
end
|