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

gl_repository_shared_examples.rb « gitlab « lib « shared_examples « support « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 28137530038d62c0917b9e22eb7be4e8f084aa79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

RSpec.shared_examples 'parsing gl_repository identifier' do
  subject { described_class.parse(identifier) }

  it 'returns correct information' do
    expect(subject).to have_attributes(
      repo_type: expected_type,
      container: expected_container
    )
  end
end