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: 16c2ab07f3aac9ea1a71ca53857a7f45703daff7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

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