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: 97f4341340da3313b38dd21628873a098e9928c6 (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.new(identifier) }

  it 'returns correct information' do
    aggregate_failures do
      expect(subject.repo_type).to eq(expected_type)
      expect(subject.fetch_container!).to eq(expected_container)
    end
  end
end