12 lines
302 B
Ruby
12 lines
302 B
Ruby
# 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
|