Welcome to mirror list, hosted at ThFree Co, Russian Federation.

services_resolver_shared_examples.rb « projects « graphql « shared_examples « support « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d9a9400cb4eda74b535fc6d826220ca4a87f2adb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true
# TODO: Remove in 17.0, see https://gitlab.com/gitlab-org/gitlab/-/merge_requests/108418
RSpec.shared_examples 'no project services' do
  it 'returns empty collection' do
    expect(resolve_services).to be_empty
  end
end

RSpec.shared_examples 'cannot access project services' do
  it 'raises error' do
    expect(resolve_services).to be_nil
  end
end